What’s Vulnerable › Vulnerabilities
CVE-2022-23498: When query caching is enabled in Grafana users can query another users session
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-02-03 · updated 2026-06-17
- Weakness: CWE-200
Description
Grafana is an open-source platform for monitoring and observability. When datasource query caching is enabled, Grafana caches all headers, including `grafana_session`. As a result, any user that queries a datasource where the caching is enabled can acquire another user’s session. To mitigate the vulnerability you can disable datasource query caching for all datasources. This issue has been patched in versions 9.2.10 and 9.3.4.
Affected products
- Grafana: from 8.3.1 before 9.2.10; from 9.3.0 before 9.3.4; 8.3.0-beta1, 8.3.0-beta2 — fixed in 9.2.10, 9.3.4
How to fix
Upgrade to a fixed version: Grafana 9.2.10, 9.3.4. Check the vendor advisory for mitigations.
References
- https://github.com/grafana/grafana/security/advisories/GHSA-2j8f-6whh-frc8
- https://github.com/grafana/grafana/security/advisories/GHSA-2j8f-6whh-frc8
- https://security.netapp.com/advisory/ntap-20230309-0007/
Get alerted when CVE-2022-23498 or the next vulnerability affects your stack