Grafana users with email as a username can block other users from signing in
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 3 fixed, 7 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-287.
Summary
Grafana is an open source data visualization platform for metrics, logs, and traces. Versions prior to 9.1.8 and 8.5.14 allow one user to block another user's login attempt by registering someone else'e email address as a username. A Grafana user’s username and email address are unique fields, that means no other user can have the same username or email address as another user. A user can have an email address as a username. However, the login system allows users to log in with either username or email address. Since Grafana allows a user to log in with either their username or email address, this creates an usual behavior where `user_1` can register with one email address and `user_2` can register their username as `user_1`’s email address. This prevents `user_1` logging into the application since `user_1`'s password won’t match with `user_2`'s email address. Versions 9.1.8 and 8.5.14 contain a patch. There are no workarounds for this issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Grafana | grafana | 9.0.0 to before 9.1.8; 8.5.0 to before 8.5.14 | 9.1.8, 8.5.14 | Patch available | CNA |
| — | github.com/grafana/grafana (Go) | before 8.5.14 | 8.5.14 | Patch available | GHSA-gj7m-853r-289r |
| — | github.com/grafana/grafana (Go) | 9.0.0 to before 9.1.8 | 9.1.8 | Patch available | GHSA-gj7m-853r-289r |
- grafana VendorGrafana Affected 9.0.0 to before 9.1.8; 8.5.0 to before 8.5.14 Fixed in 9.1.8, 8.5.14 Patch available CNA
- github.com/grafana/grafana (Go) Vendor— Affected before 8.5.14 Fixed in 8.5.14 Patch available GHSA-gj7m-853r-289r
- github.com/grafana/grafana (Go) Vendor— Affected 9.0.0 to before 9.1.8 Fixed in 9.1.8 Patch available GHSA-gj7m-853r-289r
Remediation
- Fix · CNA grafana (grafana) Fixed in 9.1.8, 8.5.14
- Fix · GHSA-gj7m-853r-289r github.com/grafana/grafana (Go) Fixed in 8.5.14 Advisory →
- Fix · GHSA-gj7m-853r-289r github.com/grafana/grafana (Go) Fixed in 9.1.8 Advisory →
Red Hat 3 advisories
- RHSA-2023:3642 Released 2023-06-15 · Red Hat rating ImportantRed Hat Ceph Storage 6.1 Container security and bug fix update
- Red Hat Ceph Storage 6.1 Tools rhceph/keepalived-rhel9, rhceph/rhceph-6-dashboard-rhel9, rhceph/rhceph-6-rhel9 +3
- RHSA-2023:2784 Released 2023-05-16 · Red Hat rating Moderategrafana security update
- Red Hat Enterprise Linux AppStream (v. 8) grafana-7.5.15-4.el8
- RHSA-2023:2167 Released 2023-05-09 · Red Hat rating Moderategrafana security and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) grafana-9.0.9-2.el9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix planned: Will not fix |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Will not fix |
| Red Hat Ceph Storage 4 | Affected | No fix yet |
| Red Hat Ceph Storage 5 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 4 | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 6.1 Tools | Fixed | RHSA-2023:3642 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:2784 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:2167 |
Not affected: 2 products
- Red Hat Ceph Storage 6.1 Tools
- Red Hat build of Quarkus
Timeline
- 2026-10-02 Threatist record created from CVE-2022-39229
- 2026-10-03 Alias added: GHSA-gj7m-853r-289r
References
Advisory 3
More Grafana vulnerabilities
- TI-2021-16611 Snapshot authentication bypass in grafana KEVCVSS 3.1CRITICAL 9.8
- TI-2021-19604 Grafana path traversal KEVCVSS 3.1HIGH 7.5
- TI-2024-08600 Grafana SQL Expressions allow for remote code execution CVSS 4.0CRITICAL 9.4
- TI-2023-02931 Authentication bypass by spoofing in Grafana CVSS 3.1CRITICAL 9.8
- TI-2020-10491 The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control… CVSS 3.1HIGH 8.2
- TI-2025-03662 Open redirect in Grafana CVSS 3.1HIGH 7.6
Sources
- CVE-2022-39229 · CVE Program
- CVE-2022-39229 · NVD
- FIRST EPSS
- GHSA-gj7m-853r-289r · GitHub Advisory Database · CC BY 4.0
- CVE-2022-39229 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences