Skip to content
Noroxi
CVE-2022-31107· NVD / CVE Program· CNA GitHub_M

Grafana account takeover via OAuth vulnerability

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 2.8% (FIRST EPSS); higher than 86.5% of all records.
  • Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: grafana (AlmaLinux:8) 7.5.11-3.el8_6; grafana (AlmaLinux:9) 7.5.11-5.el9_0; github.com/grafana/grafana (Go) 8.3.10, 8.4.10, 8.5.9.

Low priority for now. Upgrade to grafana (AlmaLinux:8) 7.5.11-3.el8_6; grafana (AlmaLinux:9) 7.5.11-5.el9_0; github.com/grafana/grafana (Go) 8.3.10, 8.4.10, 8.5.9 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Jul 15, 2022
Updated
Jun 17, 2026
EPSS
2.8% · 86th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.8%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.5
CNA · GitHub_M
7.1
0.4 point gap

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2022-31107

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
grafanagrafana
netappe-series performance analyzer

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • grafana grafana5.3.0 and later · before 8.3.10
  • grafana grafana8.4.0 and later · before 8.4.10
  • grafana grafana8.5.0 and later · before 8.5.9
  • grafana grafana9.0.0 and later · before 9.0.3
  • netapp e-series performance analyzerall versions

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • grafana grafana

    • >= 5.3, < 8.3.10, >= 8.4.0, < 8.4.10, >= 8.5.0, < 8.5.9, >= 9.0.0, < 9.0.3affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8grafanabefore 7.5.11-3.el8_67.5.11-3.el8_6
AlmaLinux:9grafanabefore 7.5.11-5.el9_07.5.11-5.el9_0
Gogithub.com/grafana/grafanafrom 5.3.0-beta1 · before 8.3.108.3.10
Gogithub.com/grafana/grafanafrom 8.4.0 · before 8.4.108.4.10
Gogithub.com/grafana/grafanafrom 8.5.0 · before 8.5.98.5.9
Gogithub.com/grafana/grafanafrom 9.0.0 · before 9.0.39.0.3
Gogithub.com/grafana/grafanaall versions—
openSUSE:Leap 15.3golang-github-prometheus-promubefore 0.13.0-150000.3.9.10.13.0-150000.3.9.1
openSUSE:Leap 15.4wirebefore 0.5.0-150000.1.12.30.5.0-150000.1.12.3
openSUSE:Leap 15.4wirebefore 0.5.0-150000.1.9.30.5.0-150000.1.9.3
openSUSE:Tumbleweedgrafanabefore 8.3.10-1.18.3.10-1.1
Red Hat:enterprise_linux:8::appstreamgrafanabefore 0:7.5.11-3.el8_60:7.5.11-3.el8_6
Red Hat:enterprise_linux:8::appstreamgrafana-debuginfobefore 0:7.5.11-3.el8_60:7.5.11-3.el8_6
Red Hat:enterprise_linux:9::appstreamgrafanabefore 0:7.5.11-5.el9_00:7.5.11-5.el9_0
Red Hat:enterprise_linux:9::appstreamgrafana-debuginfobefore 0:7.5.11-5.el9_00:7.5.11-5.el9_0
Red Hat:rhel_e4s:8.1::appstreamgrafanabefore 0:6.2.2-9.el8_10:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1::appstreamgrafana-azure-monitorbefore 0:6.2.2-9.el8_10:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1::appstreamgrafana-cloudwatchbefore 0:6.2.2-9.el8_10:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1::appstreamgrafana-debuginfobefore 0:6.2.2-9.el8_10:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1::appstreamgrafana-elasticsearchbefore 0:6.2.2-9.el8_10:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1::appstreamgrafana-graphitebefore 0:6.2.2-9.el8_10:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1::appstreamgrafana-influxdbbefore 0:6.2.2-9.el8_10:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1::appstreamgrafana-lokibefore 0:6.2.2-9.el8_10:6.2.2-9.el8_1
Red Hat:rhel_e4s:8.1::appstreamgrafana-mssqlbefore 0:6.2.2-9.el8_10:6.2.2-9.el8_1

+93

Other highest-scoring records for the same primary product.

  • CVE-2021-39226Snapshot authentication bypass in grafanaKEV
    89Now
  • CVE-2021-43798Grafana path traversalKEV
    87Now
  • CVE-2024-9264Grafana SQL Expressions allow for remote code execution
    66This week
  • CVE-2020-13379The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue.
    62This week
  • CVE-2018-15727Grafana 2.x, 3.x, and 4.x before 4.6.4 and 5.x before 5.2.3 allows authentication bypass because an attacker can generate a valid "remember
    58Plan
  • CVE-2022-31097Stored XSS in Grafana's Unified Alerting
    55Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:grafana7.5.11-5.el9_0 · AlmaLinux:9Package registry (OSV)
Go:github.com/grafana/grafana8.3.10Package registry (OSV)
Go:github.com/grafana/grafana8.4.10Package registry (OSV)
Go:github.com/grafana/grafana8.5.9Package registry (OSV)
Go:github.com/grafana/grafana9.0.3Package registry (OSV)
opensuse:dracut-saltboot0.1.1661440542.6cbe0da-150000.1.38.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:golang-github-lusitaniae-apache_exporter0.11.0-150000.1.12.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:grafana8.3.10-150200.3.26.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:spacecmd4.3.15-150000.3.86.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:grafana0:7.5.11-5.el9_0 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:grafana-azure-monitor0:6.3.6-5.el8_2 · Red Hat:rhel_eus:8.2::appstreamPackage registry (OSV)
red hat:grafana-cloudwatch0:6.3.6-5.el8_2 · Red Hat:rhel_eus:8.2::appstreamPackage registry (OSV)
red hat:grafana-debuginfo0:7.5.11-5.el9_0 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:grafana-elasticsearch0:6.3.6-5.el8_2 · Red Hat:rhel_eus:8.2::appstreamPackage registry (OSV)
red hat:grafana-graphite0:6.3.6-5.el8_2 · Red Hat:rhel_eus:8.2::appstreamPackage registry (OSV)
red hat:grafana-influxdb0:6.3.6-5.el8_2 · Red Hat:rhel_eus:8.2::appstreamPackage registry (OSV)
red hat:grafana-loki0:6.3.6-5.el8_2 · Red Hat:rhel_eus:8.2::appstreamPackage registry (OSV)
red hat:grafana-mssql0:6.3.6-5.el8_2 · Red Hat:rhel_eus:8.2::appstreamPackage registry (OSV)
red hat:grafana-mysql0:6.3.6-5.el8_2 · Red Hat:rhel_eus:8.2::appstreamPackage registry (OSV)
red hat:grafana-opentsdb0:6.3.6-5.el8_2 · Red Hat:rhel_eus:8.2::appstreamPackage registry (OSV)
red hat:grafana-postgres0:6.3.6-5.el8_2 · Red Hat:rhel_eus:8.2::appstreamPackage registry (OSV)
rocky linux:grafana0:7.5.11-5.el9_0 · Rocky Linux:9Package registry (OSV)
suse:dracut-saltboot0.1.1661440542.6cbe0da-150000.1.38.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:golang-github-lusitaniae-apache_exporter0.11.0-1.13.1 · SUSE:Manager Client Tools 12Package registry (OSV)
suse:golang-github-lusitaniae-apache_exporter0.11.0-150000.1.12.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:golang-github-prometheus-alertmanager0.23.0-1.15.2 · SUSE:Manager Client Tools 12Package registry (OSV)
suse:golang-github-prometheus-node_exporter1.3.0-1.21.1 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:golang-github-prometheus-node_exporter1.3.0-150000.3.18.1 · SUSE:Linux Enterprise High Performance Computing 15-ESPOSPackage registry (OSV)
suse:grafana8.3.10-150000.1.33.1 · SUSE:Manager Client Tools 15Package registry (OSV)
suse:grafana8.5.13-150100.3.12.1 · SUSE:Enterprise Storage 6Package registry (OSV)

+9

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days+1% in 7 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records