{"id":"CVE-2020-12458","aliases":["ALSA-2020:4682","BIT-grafana-2020-12458","EUVD-2022-2203","GHSA-3jq7-8ph8-63xm","GO-2024-2513","RHSA-2020:4682","UBUNTU-CVE-2020-12458"],"status":"published","title":"Grafana information disclosure","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).","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00488,"percentile":0.42518,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-312","CWE-732"],"published":"2020-04-29T15:57:05Z","modified":"2026-10-29T11:00:14Z","fixes":[{"ecosystem":"Go","package":"github.com/grafana/grafana","fixed_in":["7.2.1"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"grafana","fixed_in":["6.7.4"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/grafana/grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.1"}]}]},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana-azure-monitor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana-cloudwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana-elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana-graphite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana-influxdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana-loki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana-mssql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana-opentsdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana-postgres","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"grafana-stackdriver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Bitnami","package":"grafana","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.7.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/grafana/grafana","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.2.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/grafana/grafana","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-azure-monitor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-cloudwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-graphite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-influxdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-loki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-mssql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-opentsdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-postgres","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"grafana-stackdriver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.7.4-3.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0+dfsg-1"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"grafana","product":"grafana"},{"vendor":"redhat","product":"ceph_storage"},{"vendor":"redhat","product":"enterprise_linux"}],"references":[{"url":"https://github.com/grafana/grafana/issues/8283","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1827765","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-12458","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CTQCKJZZYXMCSHJFZZ3YXEO5NUBANGZS/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WEBCIEVSYIDDCA7FTRS2IFUOYLIQU34A/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://security.netapp.com/advisory/ntap-20200518-0001/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12458","tags":["web","advisory"]},{"url":"https://github.com/grafana/grafana/commit/102448040d5132460e3b0013e03ebedec0677e00","tags":["web","fix"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CTQCKJZZYXMCSHJFZZ3YXEO5NUBANGZS","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WEBCIEVSYIDDCA7FTRS2IFUOYLIQU34A","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20200518-0001","tags":["web"]},{"url":"https://github.com/advisories/GHSA-3jq7-8ph8-63xm","tags":["advisory"]},{"url":"https://vulners.com/cve/CVE-2018-18624","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2019-19499","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-11110","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-12052","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-12245","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-12458","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-12459","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-13430","tags":["report"]},{"url":"https://github.com/grafana/grafana","tags":["package"]},{"url":"https://access.redhat.com/errata/RHSA-2020:4682","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.3_release_notes/","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1807323","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1829724","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1848089","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1848108","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1848643","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1850572","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1861044","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1873615","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_4682.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-18624","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-18624","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18624","tags":["advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20200608-0008/","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-19499","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-19499","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-19499","tags":["advisory"]},{"url":"https://swarm.ptsecurity.com/grafana-6-4-3-arbitrary-file-read/","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-11110","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-11110","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11110","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-12052","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-12052","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12052","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-12245","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-12245","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12245","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-12458","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-12459","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-12459","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12459","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-13430","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-13430","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13430","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-12458","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-12458","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).","status":"published","published":"2020-04-29T15:57:05Z","modified":"2024-08-04T11:56:52.049Z","updated_at":"2026-11-02T14:35:52.925152Z"}],"euvd":[{"id":"EUVD-2022-2203","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).","status":"published","published":"2020-04-29T15:57:05Z","modified":"2024-08-04T11:56:52Z","updated_at":"2026-11-03T03:07:39.896975Z"}],"ghsa":[{"id":"GHSA-3jq7-8ph8-63xm","title":"Grafana information disclosure","description":"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).","status":"published","published":"2022-05-24T17:16:53Z","modified":"2024-11-18T16:26:25Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"},{"version":"4.0","score":7.1,"vector":"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","level":"high"}],"cwes":["CWE-312","CWE-732"],"updated_at":"2026-11-02T14:38:19.029049Z"}],"nvd":[{"id":"CVE-2020-12458","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).","status":"published","published":"2020-04-29T16:15:11.76Z","modified":"2026-06-17T02:51:50.743Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T14:05:59.718774Z"}],"osv":[{"id":"CVE-2020-12458","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).","status":"published","published":"2020-04-29T16:15:11.76Z","modified":"2026-10-24T10:50:19.644926519Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:14.034736Z"},{"id":"GHSA-3jq7-8ph8-63xm","title":"Grafana information disclosure","description":"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).","status":"published","published":"2022-05-24T17:16:53Z","modified":"2026-09-10T03:49:29.46719224Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"},{"version":"4.0","score":7.1,"vector":"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","level":"high"}],"cwes":["CWE-312","CWE-732"],"updated_at":"2026-11-02T15:46:35.747385Z"},{"id":"RHSA-2020:4682","title":"Red Hat Security Advisory: grafana security, bug fix, and enhancement update","status":"published","published":"2024-09-18T04:15:11Z","modified":"2026-06-27T10:12:10Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:07.57369Z"},{"id":"UBUNTU-CVE-2020-12458","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).","status":"published","published":"2020-04-29T16:15:00Z","modified":"2025-10-24T04:48:28Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:22.804634Z"},{"id":"ALSA-2020:4682","title":"Moderate: grafana security, bug fix, and enhancement update","description":"Grafana is an open source, feature rich metrics dashboard and graph editor for Graphite, InfluxDB \u0026 OpenTSDB. \n\nThe following packages have been upgraded to a later upstream version: grafana (6.7.4). (BZ#1807323)\n\nSecurity Fix(es):\n\n* grafana: XSS vulnerability via a column style on the \"Dashboard \u003e Table Panel\" screen (CVE-2018-18624)\n\n* grafana: arbitrary file read via MySQL data source (CVE-2019-19499)\n\n* grafana: stored XSS (CVE-2020-11110)\n\n* grafana: XSS annotation popup vulnerability (CVE-2020-12052)\n\n* grafana: XSS via column.title or cellLinkTooltip (CVE-2020-12245)\n\n* grafana: information disclosure through world-readable /var/lib/grafana/grafana.db (CVE-2020-12458)\n\n* grafana: information disclosure through world-readable grafana configuration files (CVE-2020-12459)\n\n* grafana: XSS via the OpenTSDB datasource (CVE-2020-13430)\n\nFor 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.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","status":"published","published":"2020-11-03T12:26:41Z","modified":"2026-10-29T11:00:14.499216693Z","updated_at":"2026-11-02T15:27:51.196609Z"},{"id":"BIT-grafana-2020-12458","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).","status":"published","published":"2024-03-06T11:01:23.376Z","modified":"2026-09-08T08:47:50.583323081Z","updated_at":"2026-11-02T15:28:31.02759Z"},{"id":"GO-2024-2513","title":"Grafana information disclosure in github.com/grafana/grafana","description":"Grafana information disclosure in github.com/grafana/grafana.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/grafana/grafana before v7.2.1.","status":"published","published":"2024-06-28T15:28:53Z","modified":"2026-06-19T12:44:20.411356048Z","updated_at":"2026-11-02T15:47:01.185262Z"}]}}
