CVE-2020-12458
Grafana information disclosure
Also known as BIT-grafana-2020-12458, GHSA-3jq7-8ph8-63xm, GO-2024-2513
Mitigation
- Upgrade github.com/grafana/grafana to 7.2.1 or later.
Who should check
- Projects that depend on Go package github.com/grafana/grafana (< 7.2.1)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- github.com/grafana/grafana < 7.2.1
- Fixed in
- 7.2.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.49% chance of exploitation in 30 days (percentile 35, 2026-11-26)
- CWE
- CWE-732
- Modified
Description
An information-disclosure flaw was found in Grafana through 6.7.3. The database directory /var/lib/grafana and database file /var/lib/grafana/grafana.db are world readable. This can result in exposure of sensitive information (e.g., cleartext or encrypted datasource passwords).
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/grafana/grafana | < 7.2.1 | 7.2.1 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-12458. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-12458.md Affected: github.com/grafana/grafana < 7.2.1 Fixed in: 7.2.1 Steps: 1. Search this machine and project for github.com/grafana/grafana (Go), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CTQCKJZZYXMCSHJFZZ3YXEO5NUBANGZS/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WEBCIEVSYIDDCA7FTRS2IFUOYLIQU34A/
- https://nvd.nist.gov/vuln/detail/CVE-2020-12458
- https://github.com/advisories/GHSA-3jq7-8ph8-63xm
Exploits and PoCs
Other
- https://bugzilla.redhat.com/show_bug.cgi?id=1827765
- https://access.redhat.com/security/cve/CVE-2020-12458
- https://security.netapp.com/advisory/ntap-20200518-0001/
- https://github.com/grafana/grafana
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CTQCKJZZYXMCSHJFZZ3YXEO5NUBANGZS
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WEBCIEVSYIDDCA7FTRS2IFUOYLIQU34A
- https://security.netapp.com/advisory/ntap-20200518-0001
FAQ
Is CVE-2020-12458 being exploited?
There is no confirmed exploitation: CVE-2020-12458 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-12458?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2020-12458?
github.com/grafana/grafana < 7.2.1.
Is there a fix for CVE-2020-12458?
Yes. Fixed in 7.2.1. Upgrade github.com/grafana/grafana to 7.2.1 or later.
How do I check if I'm affected by CVE-2020-12458?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.