Skip to main content

CVE-2023-3128 — Vulnerability in github.com/grafana/grafana

CRITICAL

Grafana vulnerable to Authentication Bypass by Spoofing

Published June 22, 2023Updated August 7, 2026Source: OSV

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.

Check my go.sum

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
Update github.com/grafana/grafana to 8.5.27 or later
go get github.com/grafana/grafana@v8.5.27
Go
Update github.com/grafana/grafana to 9.3.16 or later
go get github.com/grafana/grafana@v9.3.16
Go
Update github.com/grafana/grafana to 9.2.20 or later
go get github.com/grafana/grafana@v9.2.20
Go
Update github.com/grafana/grafana to 9.4.13 or later
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).

PackageFixed In
github.com/grafana/grafana Go · Affected: All versions8.5.27
github.com/grafana/grafana Go · Affected: All versions9.3.16
github.com/grafana/grafana Go · Affected: All versions9.2.20
github.com/grafana/grafana Go · Affected: All versions9.4.13

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.4 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

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

CVSS Score
9.4

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
3.80%
EPSS percentile: 90.8

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

GHSA-mpv3-g8m3-3fjc
BIT-grafana-2023-3128
GHSA-gxh2-6vvc-rrgp

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

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum