Live threats

All CVEs / Grafana

CVE-2023-3128Grafana

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
3.8%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Jun 22, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-290
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Grafana.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/grafana/grafana ≥ 9.4.0 < 9.4.13 9.4.13 go get github.com/grafana/grafana@v9.4.13
Go github.com/grafana/grafana ≥ 9.3.0 < 9.3.16 9.3.16 go get github.com/grafana/grafana@v9.3.16
Go github.com/grafana/grafana ≥ 9.0.0 < 9.2.20 9.2.20 go get github.com/grafana/grafana@v9.2.20
Go github.com/grafana/grafana < 8.5.27 8.5.27 go get github.com/grafana/grafana@v8.5.27

Per OSV / GitHub Advisories (GHSA-mpv3-g8m3-3fjc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
grafanagrafana≥ 6.7.0 < 8.5.27
grafanagrafana≥ 6.7.0 < 8.5.27
grafanagrafana≥ 9.2.0 < 9.2.20
grafanagrafana≥ 9.2.0 < 9.2.20
grafanagrafana≥ 9.3.0 < 9.3.16
grafanagrafana≥ 9.3.0 < 9.3.16
grafanagrafana≥ 9.4.0 < 9.4.13
grafanagrafana≥ 9.4.0 < 9.4.13
grafanagrafana≥ 9.5.0 < 9.5.4
grafanagrafana≥ 9.5.0 < 9.5.4

Official sources

References

Links published by the sources. Open them with care.