CVE-2022-21673: OAuth Identity Token exposure in Grafana
Noroxi assessment
Priority: Monitor (action score 18/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: 1.9% (FIRST EPSS); higher than 80.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. No special conditions are required; it is repeatable.
- Fixed version: grafana (AlmaLinux:8) 7.5.15-3.el8; grafana (AlmaLinux:9) 7.5.15-3.el9; grafana (openSUSE:Leap 15.3) 8.3.5-150200.3.21.1.
- Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to grafana (AlmaLinux:8) 7.5.15-3.el8; grafana (AlmaLinux:9) 7.5.15-3.el9; grafana (openSUSE:Leap 15.3) 8.3.5-150200.3.21.1 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 affected versions when a data source has the Forward OAuth Identity feature enabled, sending a query to that datasource with an API token (and no other user credentials) will forward the OAuth Identity of the most recently logged-in user. This can allow API token holders to retrieve data for which they may not have intended access. This attack relies on the Grafana instance having data sources that support the Forward OAuth Identity feature, the Grafana instance having a data source with the Forward OAuth Identity feature toggled on, the Grafana instance having OAuth enabled, and the Grafana instance having usable API keys. This issue has been patched in versions 7.5.13 and 8.3.4.
- Published
- Jan 18, 2022
- Updated
- Jun 17, 2026
- EPSS
- 1.9% · 80th percentile
- CWE
- CWE-200
Report tools
Action score
18
Monitor
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.9%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 4.3
- CNA · GitHub_M
- 4.3
- agree
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.
Running WordPress? Scan your site free with WP Lens
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 helpAffected 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.
| Vendor | Product | CPE |
|---|---|---|
| grafana | grafana | cpe:2.3:a:grafana:grafana |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora34
- fedoraproject fedora35
- fedoraproject fedora36
- grafana grafana7.2.0 and later · before 7.5.13
- grafana grafana8.0.0 and later · before 8.3.4
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
- >= 7.2.0, < 7.5.13, >= 8.0.0, < 8.3.4affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | grafana | before 7.5.15-3.el8 | 7.5.15-3.el8 |
| AlmaLinux:9 | grafana | before 7.5.15-3.el9 | 7.5.15-3.el9 |
| openSUSE:Leap 15.3 | grafana | before 8.3.5-150200.3.21.1 | 8.3.5-150200.3.21.1 |
| openSUSE:Leap 15.3 | prometheus-postgres_exporter | before 0.10.0-150000.1.3.1 | 0.10.0-150000.1.3.1 |
| openSUSE:Leap 15.3 | rhnlib | before 4.2.6-150000.3.34.1 | 4.2.6-150000.3.34.1 |
| openSUSE:Leap 15.3 | spacecmd | before 4.2.16-150000.3.77.1 | 4.2.16-150000.3.77.1 |
| openSUSE:Tumbleweed | grafana | before 8.3.4-1.1 | 8.3.4-1.1 |
| Red Hat:enterprise_linux:8::appstream | grafana | before 0:7.5.15-3.el8 | 0:7.5.15-3.el8 |
| Red Hat:enterprise_linux:8::appstream | grafana-debuginfo | before 0:7.5.15-3.el8 | 0:7.5.15-3.el8 |
| Red Hat:enterprise_linux:9::appstream | grafana | before 0:7.5.15-3.el9 | 0:7.5.15-3.el9 |
| Red Hat:enterprise_linux:9::appstream | grafana-debuginfo | before 0:7.5.15-3.el9 | 0:7.5.15-3.el9 |
| Rocky Linux:8 | grafana | before 0:7.5.15-3.el8 | 0:7.5.15-3.el8 |
| Rocky Linux:9 | grafana | before 0:7.5.15-3.el9 | 0:7.5.15-3.el9 |
| SUSE:Enterprise Storage 6 | grafana | before 8.5.13-150100.3.12.1 | 8.5.13-150100.3.12.1 |
| SUSE:HPE Helion OpenStack 8 | golang-github-prometheus-node_exporter | before 1.3.0-1.15.3 | 1.3.0-1.15.3 |
| SUSE:Manager Client Tools 12 | golang-github-prometheus-alertmanager | before 0.23.0-1.12.3 | 0.23.0-1.12.3 |
| SUSE:Manager Client Tools 12 | golang-github-QubitProducts-exporter_exporter | before 0.4.0-1.6.1 | 0.4.0-1.6.1 |
| SUSE:Manager Client Tools 12 | grafana | before 8.3.5-1.30.3 | 8.3.5-1.30.3 |
| SUSE:Manager Client Tools 12 | mgr-cfg | before 4.3.6-1.27.4 | 4.3.6-1.27.4 |
| SUSE:Manager Client Tools 12 | mgr-custom-info | before 4.3.3-1.18.1 | 4.3.3-1.18.1 |
| SUSE:Manager Client Tools 12 | mgr-daemon | before 4.3.4-1.32.3 | 4.3.4-1.32.3 |
| SUSE:Manager Client Tools 12 | mgr-osad | before 4.3.6-1.39.4 | 4.3.6-1.39.4 |
| SUSE:Manager Client Tools 12 | mgr-push | before 4.3.4-1.21.4 | 4.3.4-1.21.4 |
| SUSE:Manager Client Tools 12 | mgr-virtualization | before 4.3.5-1.29.3 | 4.3.5-1.29.3 |
+45
Same product
grafana: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-39226Snapshot authentication bypass in grafanaKEV89Now
- CVE-2021-43798Grafana path traversalKEV87Now
- CVE-2024-9264Grafana SQL Expressions allow for remote code execution66This week
Published before and after this one in the same product
- ← EarlierCVE-2021-43813Dec 10, 2021 · Directory Traversal in Grafana34Monitor
- ← EarlierCVE-2021-43815Dec 10, 2021 · Grafana directory traversal for `.cvs` files18Monitor
- Later →CVE-2022-21702Feb 8, 2022 · Cross site scripting in Grafana proxy22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:grafana | 7.5.15-3.el8 · AlmaLinux:8 | Package registry (OSV) |
| opensuse:grafana | 8.3.5-150200.3.21.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:prometheus-postgres_exporter | 0.10.0-150000.1.3.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:rhnlib | 4.2.6-150000.3.34.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:spacecmd | 4.2.16-150000.3.77.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:grafana | 0:7.5.15-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:grafana-debuginfo | 0:7.5.15-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:grafana | 0:7.5.15-3.el8 · Rocky Linux:8 | Package registry (OSV) |
| suse:grafana | 8.3.5-150000.1.30.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:mgr-cfg | 4.2.8-150000.1.24.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:mgr-osad | 4.2.8-150000.1.36.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:mgr-push | 4.2.5-150000.1.18.2 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:mgr-virtualization | 4.2.4-150000.1.26.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:prometheus-postgres_exporter | 0.10.0-150000.1.3.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:rhnlib | 4.2.6-150000.3.34.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:spacecmd | 4.2.16-150000.3.77.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:spacewalk-client-tools | 4.2.18-150000.3.59.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:spacewalk-koan | 4.2.6-150000.3.27.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:spacewalk-oscap | 4.2.4-150000.3.18.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:suseRegisterInfo | 4.2.6-150000.3.21.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
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.
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.
Credits
All researchersFinders, 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.
—
Bug bounty scope
- Grafana Labs - Vulnerability Disclosure Program (VDP)Intigriti · disclosure only (VDP) · grafana/grafana
- Grafana Labs - Vulnerability Disclosure Program (VDP)Intigriti · disclosure only (VDP)
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0552 · Aug 15, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0541 · Aug 10, 2022(RedHat Güvenlik Güncellemesi)
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.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-200 · Exposure of Sensitive Information to an Unauthorized ActorCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
nvd-primary
Root cause
The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.
The bug in code
The whole CWE-200 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
{
"permissions": ["tabs", "<all_urls>"],
"background": { "service_worker": "analytics.js" }
}Fixed
{
"permissions": ["activeTab"],
"host_permissions": ["https://yildiz.example/*"]
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- ExcavationCAPEC-116likelihood: High · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
- FootprintingCAPEC-169likelihood: High · Very Low
- Exploiting Trust in ClientCAPEC-22likelihood: High · High
- FingerprintingCAPEC-224likelihood: High · Very Low
- ICMP Echo Request PingCAPEC-285likelihood: Medium · Low
- TCP SYN ScanCAPEC-287Low
- Enumerate Mail Exchange (MX) RecordsCAPEC-290Low
ATT&CK techniques
- System Service DiscoveryT1007
- System Network Configuration DiscoveryT1016
- Remote System DiscoveryT1018
- System Owner/User DiscoveryT1033
- Masquerading: Match Legitimate Name or LocationT1036.005
- Network Service ScanningT1046
- System Network Connections DiscoveryT1049
- Process DiscoveryT1057
- Permission Groups DiscoveryT1069
- System Information DiscoveryT1082
- File and Directory DiscoveryT1083
- Account DiscoveryT1087
- Multi-Factor Authentication InterceptionT1111
- Peripheral Device DiscoveryT1120
- System Time DiscoveryT1124
- Access Token Manipulation:Token Impersonation/TheftT1134.001
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- github.com/grafana/grafana/releases/tag/v8.3.4
- github.com/grafana/grafana/security/advisories/GHSA-8wjh-59cw-9xh4
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
- security.netapp.com/advisory/ntap-20220303-0004/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.