Broken access controlin Grafana.
No public exploit found; not on exploited lists.
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.
- 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.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 18 May 2022CVE ID reserved by GitHub_M.
- 15 Jul 2022Published in the CVE List.
- 28 Jan 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
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.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Grafana vulnerabilities
Same weakness: Incorrect authorization
- grafana.com x_refsource_MISC
- github.com x_refsource_CONFIRM
- grafana.com x_refsource_MISC
- grafana.com x_refsource_MISC
- security.netapp.com x_refsource_CONFIRM
Patchminder. CVE-2022-31107: Broken access control in Grafana. https://patchminder.com/cve/cve-2022-31107/ (accessed 5 December 2026).