CVEBrief

Home / grafana / grafana / CVE-2022-31107

CVE-2022-31107: is it exploited, and which versions of grafana are affected and fixed?

CVE-2022-31107 is an incorrect authorization vulnerability in grafana. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: github.com/grafana/grafana from 5.3.0-beta1 before 8.3.10, github.com/grafana/grafana from 8.4.0 before 8.4.10, github.com/grafana/grafana from 8.5.0 before 8.5.9 and 1 more (GitHub advisory GHSA-mx47-6497-3fv2). Fixed in 8.3.10, 8.4.10, 8.5.9 and 9.0.3 (GitHub advisory GHSA-mx47-6497-3fv2). Severity: High (7.1, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:47 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
github.com/grafana/grafana from 5.3.0-beta1 before 8.3.10, github.com/grafana/grafana from 8.4.0 before 8.4.10, github.com/grafana/grafana from 8.5.0 before 8.5.9 and 1 more
GitHub advisory GHSA-mx47-6497-3fv2
Fixed in
8.3.10, 8.4.10, 8.5.9 and 9.0.3
GitHub advisory GHSA-mx47-6497-3fv2
Severity
High 7.1
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
2.87% in 30 days
higher than 87% of CVEs; FIRST, December 2, 2026

What is CVE-2022-31107?

Grafana account takeover via OAuth vulnerability

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. Due to the way that external and internal user accounts are linked together during login, if the conditions above are all met then the malicious user will be able to log in to the target user's Grafana account. Versions 9.0.3, 8.5.9, 8.4.10, and 8.3.10 contain a patch for this issue. As a workaround, concerned users can disable OAuth login to their Grafana instance, or ensure that all users authorized to log in via OAuth have a corresponding user account in Grafana linked to their email address.

From the CVE record by GitHub_M, last updated January 28, 2026, 04:55 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
grafanagrafana>= 5.3, < 8.3.10
>= 8.4.0, < 8.4.10
>= 8.5.0, < 8.5.9
>= 9.0.0, < 9.0.3

As the CVE record by GitHub_M states it, last updated January 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Gogithub.com/grafana/grafana>= 5.3.0-beta1, < 8.3.108.3.10GHSA-mx47-6497-3fv2
Gogithub.com/grafana/grafana>= 8.4.0, < 8.4.108.4.10GHSA-mx47-6497-3fv2
Gogithub.com/grafana/grafana>= 8.5.0, < 8.5.98.5.9GHSA-mx47-6497-3fv2
Gogithub.com/grafana/grafana>= 9.0.0, < 9.0.39.0.3GHSA-mx47-6497-3fv2

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 16, 2026. Summary: Grafana account takeover via OAuth vulnerability.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
grafanagrafanafrom 5.3.0 before 8.3.10application
grafanagrafanafrom 8.4.0 before 8.4.10application
grafanagrafanafrom 8.5.0 before 8.5.9application
grafanagrafanafrom 9.0.0 before 9.0.3application
netappe-series performance analyzerall versionsapplication

NVD analysis (status Modified), last modified June 17, 2026, 04:44 UTC.

How severe is CVE-2022-31107?

ScoreVersionVectorSource
High 7.1CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:LGitHub_M
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-31107 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, January 27, 2026)
EPSS
2.87% probability of exploitation activity in the next 30 days, percentile 87.2 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
May 18, 2022
Published
July 15, 2022, 12:30 UTC
CVE record updated
January 28, 2026, 04:55 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 04:44 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:47 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect grafana?

Every CVE in grafana

Questions about CVE-2022-31107

Is CVE-2022-31107 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 2.87% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of grafana are affected by CVE-2022-31107?

github.com/grafana/grafana from 5.3.0-beta1 before 8.3.10, github.com/grafana/grafana from 8.4.0 before 8.4.10, github.com/grafana/grafana from 8.5.0 before 8.5.9 and github.com/grafana/grafana from 9.0.0 before 9.0.3, per the GitHub advisory GHSA-mx47-6497-3fv2. The tables above give every range the sources list.

Which version fixes CVE-2022-31107?

8.3.10, 8.4.10, 8.5.9 and 9.0.3, per the GitHub advisory GHSA-mx47-6497-3fv2. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-31107?

High (7.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2022-31107?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.