Loading...
Skip to main content

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

CRITICAL

Grafana vulnerable to Authentication Bypass by Spoofing

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

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 (1208 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/grafana/grafana
go
All versions8.5.27
github.com/grafana/grafana
go
All versions9.3.16
github.com/grafana/grafana
go
All versions9.2.20
github.com/grafana/grafana
go
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. 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

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

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

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies