CVE-2023-3128 — Vulnerability in github.com/grafana/grafana
Grafana vulnerable to Authentication Bypass by Spoofing
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (3.80%). Schedule for your next planned update.
Does your project use an affected github.com/grafana/grafana version?
Paste your go.sum to check it for CVE-2023-3128 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Grafana is validating Azure AD accounts based on the email claim.
On Azure AD, the profile email field is not unique and can be easily modified.
This leads to account takeover and authentication bypass when Azure AD OAuth is configured with a multi-tenant app.
Advisory Timeline
- First published June 22, 2023 (1253 days ago).
- Last revised August 7, 2026 — 1141 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/grafana/grafana@v8.5.27
go get github.com/grafana/grafana@v9.3.16
go get github.com/grafana/grafana@v9.2.20
go get github.com/grafana/grafana@v9.4.13
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/grafana/grafana Go · Affected: All versions | 8.5.27 |
| github.com/grafana/grafana Go · Affected: All versions | 9.3.16 |
| github.com/grafana/grafana Go · Affected: All versions | 9.2.20 |
| github.com/grafana/grafana Go · Affected: All versions | 9.4.13 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-290
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.4 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
References
- https://github.com/grafana/bugbounty/security/advisories/GHSA-gxh2-6vvc-rrgpWEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-3128ADVISORY
- https://github.com/grafana/grafanaPACKAGE
- https://github.com/grafana/grafana/blob/69fc4e6bc0be2a82085ab3885c2262a4d49e97d8/CHANGELOG.mdWEB
- https://grafana.com/security/security-advisories/cve-2023-3128WEB
- https://security.netapp.com/advisory/ntap-20230714-0004WEB
Frequently Asked Questions
- What is CVE-2023-3128?
- Grafana vulnerable to Authentication Bypass by Spoofing. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.4/10).
- How do I check if my project is affected by CVE-2023-3128?
- CVE-2023-3128 affects github.com/grafana/grafana. It has a 3.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-3128 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 10% of EPSS-scored vulnerabilities — 90.8% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2018-18624
Grafana XSS via a column style in github.com/grafana/grafana
- CVE-2020-12245
Grafana XSS in header column rename in github.com/grafana/grafana
- CVE-2020-12459
Grafana world readable configuration files in github.com/grafana/grafana
- CVE-2020-24303
Grafana XSS via a query alias for the ElasticSearch datasource in github.com/grafana/grafana
- CVE-2025-41117
Grafana has a Cross-site Scripting issue in github.com/grafana/grafana
- CVE-2026-33380
Grafana: SQL Expressions Read File From Disk in github.com/grafana/grafana
- CVE-2026-33381
Grafana: Users can generate Service Account tokens after permissions removal in github.com/grafana/grafana
- CVE-2026-21727
Grafana legacy correlations allow cross-tenant disclosure and deletion in github.com/grafana/grafana