Unauthorized data access via OAuth token forwarding
Published Jan 18, 2022 · Updated Apr 23, 2025
Information disclosure in Grafana 7.2.0 through 7.5.12 and 8.0.0 through 8.3.3 allows remote authenticated users to retrieve unintended data via API tokens. Grafana's data-source proxy forwards the OAuth access token of the most recently signed-in user instead of the supplied API token when Forward OAuth Identity is enabled. Exploitation requires OAuth, a supporting data source with forwarding enabled, and a usable API key, allowing access to data outside the token holder's intended authorization.
Summary
What happened
Information disclosure in Grafana 7.2.0 through 7.5.12 and 8.0.0 through 8.3.3 allows remote authenticated users to retrieve unintended data via API tokens. Grafana's data-source proxy forwards the OAuth access token of the most recently signed-in user instead of the supplied API token when Forward OAuth Identity is enabled. Exploitation requires OAuth, a supporting data source with forwarding enabled, and a usable API key, allowing access to data outside the token holder's intended authorization.
The record
- CVE
- CVE-2022-21673
- Published
- Jan 18, 2022
- Updated
- Apr 23, 2025
- Vendor
- Grafana Labs
- Product
- Grafana
- Classifications
- CWE-200, T1078
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 18, 2022CVE publishedPublication date reported by the CVE source.
- Apr 23, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 7.2.0, < 7.5.13
- Affected versionversion=>= 8.0.0, < 8.3.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo