CVE-2022-31107
Grafana vulnerability analysis and mitigation

Overview

CVE-2022-31107 is a high severity OAuth account takeover vulnerability affecting Grafana versions prior to 9.0.3, 8.5.9, 8.4.10, and 8.3.10. The vulnerability was discovered on June 27, 2022, by the HTTPVoid team and disclosed to Grafana Labs. It affects all Grafana versions from 5.3 onwards (GitHub Security Advisory).

Technical details

The vulnerability allows a malicious user who has authorization to log into a Grafana instance via a configured OAuth Identity Provider (IdP) to potentially take over an existing Grafana account under certain conditions. The vulnerability has been assigned a CVSS score of 7.1 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L) indicating high severity (GitHub Security Advisory).

Impact

Successful exploitation of this vulnerability could lead to account takeover, allowing unauthorized access to sensitive information, addition or modification of data, and potential service disruption (NetApp Security).

Exploitability

The vulnerability requires the attacker to have authorization to log into the Grafana instance through a configured OAuth IdP that provides a login name. While public discussion of this vulnerability exists, specific exploit details are not publicly available (GitHub Security Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade to the patched versions: Grafana 9.0.3, 8.5.9, 8.4.10, or 8.3.10. As a workaround, administrators can either disable OAuth login or ensure that all users authorized to log in via OAuth have a corresponding user account in Grafana linked to their email address (GitHub Security Advisory).

Additional resources


SourceThis report was generated using AI

Related Grafana vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-73089HIGH7.5
  • Grafana logoGrafana
  • grafana-selinux
NoYesAug 11, 2026
CVE-2026-73088HIGH7.5
  • Grafana logoGrafana
  • rls
NoYesAug 11, 2026
CVE-2026-73086HIGH7.4
  • Grafana logoGrafana
  • grafana-azure-monitor
NoYesAug 11, 2026
CVE-2026-19017MEDIUM6.8
  • Grafana logoGrafana
  • consul
NoYesAug 07, 2026
CVE-2026-19016MEDIUM4.2
  • Grafana logoGrafana
  • grafana-prometheus
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management