CVE-2020-12458
Grafana information disclosure
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).
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.5
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).
- Record
CVE-2020-12458- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-732
- Updated
- 2026-11-02
CVE List No score
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).
- Record
CVE-2020-12458- Updated
- 2026-11-02
EUVDEUVD-2022-2203 No score
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).
- Record
EUVD-2022-2203- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3jq7-8ph8-63xm
7.1
Grafana information disclosure
An information-disclosure flaw was found in Grafana. 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).
- Record
GHSA-3jq7-8ph8-63xm- CVSS 4.0
- 7.1 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-312, CWE-732
- Updated
- 2026-11-02
OSV
5.5
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).
- Record
CVE-2020-12458- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-3jq7-8ph8-63xm
7.1
Grafana information disclosure
An information-disclosure flaw was found in Grafana. 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).
- Record
GHSA-3jq7-8ph8-63xm- CVSS 4.0
- 7.1 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-312, CWE-732
- Updated
- 2026-11-02
Show 5 moreShow less
OSVRHSA-2020:4682
6.5
Red Hat Security Advisory: grafana security, bug fix, and enhancement update
- Record
RHSA-2020:4682- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-12458
5.5
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).
- Record
UBUNTU-CVE-2020-12458- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVALSA-2020:4682 No score
Moderate: grafana security, bug fix, and enhancement update
Grafana is an open source, feature rich metrics dashboard and graph editor for Graphite, InfluxDB & OpenTSDB.
The following packages have been upgraded to a later upstream version: grafana (6.7.4). (BZ#1807323)
Security Fix(es):
-
grafana: XSS vulnerability via a column style on the "Dashboard > Table Panel" screen (CVE-2018-18624)
-
grafana: arbitrary file read via MySQL data source (CVE-2019-19499)
-
grafana: stored XSS (CVE-2020-11110)
-
grafana: XSS annotation popup vulnerability (CVE-2020-12052)
-
grafana: XSS via column.title or cellLinkTooltip (CVE-2020-12245)
-
grafana: information disclosure through world-readable /var/lib/grafana/grafana.db (CVE-2020-12458)
-
grafana: information disclosure through world-readable grafana configuration files (CVE-2020-12459)
-
grafana: XSS via the OpenTSDB datasource (CVE-2020-13430)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2020:4682- Updated
- 2026-11-02
OSVBIT-grafana-2020-12458 No score
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).
- Record
BIT-grafana-2020-12458- Updated
- 2026-11-02
OSVGO-2024-2513 No score
Grafana information disclosure in github.com/grafana/grafana
Grafana information disclosure in github.com/grafana/grafana.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/grafana/grafana before v7.2.1.
- Record
GO-2024-2513- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/grafana/grafanaGo |
before 7.2.1 | 7.2.1 |
grafanaAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
grafana-azure-monitorAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
grafana-cloudwatchAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
grafana-elasticsearchAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
grafana-graphiteAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
grafana-influxdbAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
grafana-lokiAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
grafana-mssqlAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
grafana-mysqlAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
Show 21 moreShow less
| Package | Affected | Fixed |
|---|---|---|
grafana-opentsdbAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
grafana-postgresAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
grafana-prometheusAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
grafana-stackdriverAlmaLinux:8 From an advisory covering 8 CVEs |
before 6.7.4-3.el8 | 6.7.4-3.el8 |
grafanaBitnami |
before 6.7.4 | 6.7.4 |
github.com/grafana/grafanaGo |
All versions | None known |
grafanaRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-azure-monitorRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-cloudwatchRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-elasticsearchRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-graphiteRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-influxdbRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-lokiRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-mssqlRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-mysqlRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-opentsdbRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-postgresRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-prometheusRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafana-stackdriverRed Hat:enterprise_linux:8::appstream From an advisory covering 8 CVEs |
before 0:6.7.4-3.el8 | 0:6.7.4-3.el8 |
grafanaUbuntu:16.04:LTS |
All versions, plus listed versions 2.6.0+dfsg-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-12458 is a medium vulnerability (CVSS 5.5) in Grafana, published April 29, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in github.com/grafana/grafana 7.2.1.
References
github.com/grafana/grafana/issues/8283
bugzilla.redhat.com/show_bug.cgi?id=1827765
access.redhat.com/security/cve/CVE-2020-12458
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CTQCKJZZYXMCSHJFZZ3YXEO5NUBANGZS
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WEBCIEVSYIDDCA7FTRS2IFUOYLIQU34A
security.netapp.com/advisory/ntap-20200518-0001
Show 51 moreShow less
nvd.nist.gov/vuln/detail/CVE-2020-12458
github.com/grafana/grafana/commit/102448040d5132460e3b0013e03ebedec0677e00
lists.fedoraproject.org/archives/list/[email protected]/message/CTQCKJZZYXMCSHJFZZ3YXEO5NUBANGZS
lists.fedoraproject.org/archives/list/[email protected]/message/WEBCIEVSYIDDCA7FTRS2IFUOYLIQU34A
github.com/advisories/GHSA-3jq7-8ph8-63xm
vulners.com/cve/CVE-2018-18624
vulners.com/cve/CVE-2019-19499
vulners.com/cve/CVE-2020-11110
vulners.com/cve/CVE-2020-12052
vulners.com/cve/CVE-2020-12245
vulners.com/cve/CVE-2020-12458
vulners.com/cve/CVE-2020-12459
vulners.com/cve/CVE-2020-13430
github.com/grafana/grafana
access.redhat.com/errata/RHSA-2020:4682
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.3_release_notes
bugzilla.redhat.com/show_bug.cgi?id=1807323
bugzilla.redhat.com/show_bug.cgi?id=1829724
bugzilla.redhat.com/show_bug.cgi?id=1848089
bugzilla.redhat.com/show_bug.cgi?id=1848108
bugzilla.redhat.com/show_bug.cgi?id=1848643
bugzilla.redhat.com/show_bug.cgi?id=1850572
bugzilla.redhat.com/show_bug.cgi?id=1861044
bugzilla.redhat.com/show_bug.cgi?id=1873615
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_4682.json
access.redhat.com/security/cve/CVE-2018-18624
cve.org/CVERecord?id=CVE-2018-18624
nvd.nist.gov/vuln/detail/CVE-2018-18624
security.netapp.com/advisory/ntap-20200608-0008
access.redhat.com/security/cve/CVE-2019-19499
cve.org/CVERecord?id=CVE-2019-19499
nvd.nist.gov/vuln/detail/CVE-2019-19499
swarm.ptsecurity.com/grafana-6-4-3-arbitrary-file-read
access.redhat.com/security/cve/CVE-2020-11110
cve.org/CVERecord?id=CVE-2020-11110
nvd.nist.gov/vuln/detail/CVE-2020-11110
access.redhat.com/security/cve/CVE-2020-12052
cve.org/CVERecord?id=CVE-2020-12052
nvd.nist.gov/vuln/detail/CVE-2020-12052
access.redhat.com/security/cve/CVE-2020-12245
cve.org/CVERecord?id=CVE-2020-12245
nvd.nist.gov/vuln/detail/CVE-2020-12245
cve.org/CVERecord?id=CVE-2020-12458
access.redhat.com/security/cve/CVE-2020-12459
cve.org/CVERecord?id=CVE-2020-12459
nvd.nist.gov/vuln/detail/CVE-2020-12459
access.redhat.com/security/cve/CVE-2020-13430
cve.org/CVERecord?id=CVE-2020-13430
nvd.nist.gov/vuln/detail/CVE-2020-13430
ubuntu.com/security/CVE-2020-12458