CVE-2025-6023
Grafana is vulnerable to XSS attacks through open redirects and path traversal
Also known as BIT-grafana-2025-6023, GHSA-vqph-p5vc-g644, GO-2025-3817
Mitigation
- Upgrade github.com/grafana/grafana to 1.9.2-0.20250521205822-0ba0b99665a9 or later.
Who should check
- Projects that depend on Go package github.com/grafana/grafana (< 1.9.2-0.20250521205822-0ba0b99665a9)
- Anyone running Grafana >= 12.0.x, < 12.0.2+security-01; >= 11.6.x, < 11.6.3+security-01; >= 11.5.x, < 11.5.6+security-01; >= 11.4.x, < 11.4.6+security-01; >= 11.3.x, < 11.3.8+security-01
Vulnerability facts
- Affected
- github.com/grafana/grafana < 1.9.2-0.20250521205822-0ba0b99665a9
- Fixed in
- 1.9.2-0.20250521205822-0ba0b99665a9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 1.33% chance of exploitation in 30 days (percentile 71, 2026-11-26)
- CWE
- CWE-601, CWE-79
- Modified
Description
An open redirect vulnerability has been identified in Grafana OSS that can be exploited to achieve XSS attacks. The vulnerability was introduced in Grafana v11.5.0. The open redirect can be chained with path traversal vulnerabilities to achieve XSS. Fixed in versions 12.0.2+security-01, 11.6.3+security-01, 11.5.6+security-01, 11.4.6+security-01 and 11.3.8+security-01
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/grafana/grafana | < 1.9.2-0.20250521205822-0ba0b99665a9 | 1.9.2-0.20250521205822-0ba0b99665a9 | osv |
| Grafana | >= 12.0.x, < 12.0.2+security-01; >= 11.6.x, < 11.6.3+security-01; >= 11.5.x, < 11.5.6+security-01; >= 11.4.x, < 11.4.6+security-01; >= 11.3.x, < 11.3.8+security-01 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-6023. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-6023.md Affected: github.com/grafana/grafana < 1.9.2-0.20250521205822-0ba0b99665a9 Fixed in: 1.9.2-0.20250521205822-0ba0b99665a9 Steps: 1. Search this machine and project for github.com/grafana/grafana (Go), Grafana: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/grafana/grafana/commit/0ba0b99665a946cd96676ef85ec8bc83028cb1d7
- https://github.com/grafana/grafana/commit/40ed88fe86d347bcde5ddaed6c4a20a95d2f0d55
- https://github.com/grafana/grafana/commit/5b00e21638f565eed46acb4d0b7c009968df4c3b
- https://github.com/grafana/grafana/commit/b6dd2b70c655c61b111b328f1a7dcca6b3954936
- https://github.com/grafana/grafana/commit/e0ba4b480954f8a33aa2cff3229f6bcc05777bd9
Other
- https://grafana.com/blog/2025/07/17/grafana-security-release-medium-and-high-severity-fixes-for-cve-2025-6197-and-cve-2025-6023/
- https://github.com/grafana/grafana
- https://grafana.com/blog/2025/07/17/grafana-security-release-medium-and-high-severity-fixes-for-cve-2025-6197-and-cve-2025-6023
- https://grafana.com/security/security-advisories/cve-2025-6023
FAQ
Is CVE-2025-6023 being exploited?
There is no confirmed exploitation: CVE-2025-6023 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-6023?
High: CVSS 7.6 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-6023?
github.com/grafana/grafana < 1.9.2-0.20250521205822-0ba0b99665a9.
Is there a fix for CVE-2025-6023?
Yes. Fixed in 1.9.2-0.20250521205822-0ba0b99665a9. Upgrade github.com/grafana/grafana to 1.9.2-0.20250521205822-0ba0b99665a9 or later.
How do I check if I'm affected by CVE-2025-6023?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.