CVE-2022-21673: OAuth Identity Token exposure in Grafana
Vulnerability summary
CVE-2022-21673 is a medium (CVSS 4.3) vulnerability in fedoraproject fedora. EPSS estimates a 2.00% chance of exploitation in the next 30 days, higher than 80.7% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 6Timeline
- 18-01-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · AlpineEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
2.00%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.00% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- grafana≥ 7.2.0, < 8.3.4-r0
Fedoraproject1 product
- fedoraEOL34 | 35 | 36
Grafana1 product
- grafana≥ 7.2.0, < 7.5.13 | ≥ 8.0.0, < 8.3.4
Ubuntu1 product
- grafanaAll versions (No fix recorded)
4 vendors · 4 products
References
10 links- github.com/grafana/grafana/security/advisories/GHSA-8wjh-59cw-9xh4X Refsource CONFIRMREPORTThird Party Advisory
- github.com/grafana/grafana/releases/tag/v7.5.13X Refsource MISCREPORTRelease NotesThird Party Advisory
- github.com/grafana/grafana/releases/tag/v8.3.4X Refsource MISCREPORTRelease NotesThird Party Advisory