patchminder
No public exploit found CVE-2022-31107

Broken access controlin Grafana.

Published 15 Jul 2022 · Updated 28 Jan 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 7.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 2.9% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

Grafana is an open-source platform for monitoring and observability. In versions 5.3 until 9.0.3, 8.5.9, 8.4.10, and 8.3.10, it is possible for a malicious user who has authorization to log into a Grafana instance via a configured OAuth IdP which provides a login name to take over the account of another user in that Grafana instance. This can occur when the malicious user is authorized to log in to Grafana via OAuth, the malicious user's external user id is not already associated with an account in Grafana, the malicious user's email address is not already associated with an account in Grafana, and the malicious user knows the Grafana username of the target user. If these conditions are met, the malicious user can set their username in the OAuth provider to that of the target user, then go through the OAuth flow to log in to Grafana.

What to do now
  • Upgrade grafana to 8.3.10, 8.4.10, 8.5.9, 9.0.3 or later, whichever matches your release line.
  • Upgrade github.com/grafana/grafana (Go) to 8.3.10, 8.4.10, 8.5.9, 9.0.3 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
grafana
5.3 to before 8.3.10
8.3.10
CVE record
grafana
8.4.0 to before 8.4.10
8.4.10
CVE record
grafana
8.5.0 to before 8.5.9
8.5.9
CVE record
grafana
9.0.0 to before 9.0.3
9.0.3
CVE record
github.com/grafana/grafana (Go)
5.3.0-beta1 to before 8.3.10
8.3.10
GitHub advisory
github.com/grafana/grafana (Go)
8.4.0 to before 8.4.10
8.4.10
GitHub advisory
github.com/grafana/grafana (Go)
8.5.0 to before 8.5.9
8.5.9
GitHub advisory
github.com/grafana/grafana (Go)
9.0.0 to before 9.0.3
9.0.3
GitHub advisory
github.com/grafana/grafana (Go)
all versions
Not confirmed
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 18 May 2022
    CVE ID reserved by GitHub_M.
  2. 15 Jul 2022
    Published in the CVE List.
  3. 28 Jan 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Grafana vulnerabilities

Same weakness: Incorrect authorization

All CWE-863 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-31107: Broken access control in Grafana. https://patchminder.com/cve/cve-2022-31107/ (accessed 5 December 2026).