---
id: CVE-2020-12458
aliases:
  - GHSA-3jq7-8ph8-63xm
  - BIT-grafana-2020-12458
  - GO-2024-2513
title: Grafana information disclosure
summary: Grafana information disclosure
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
vendor: grafana
product: github.com/grafana/grafana
ecosystem: go
affected:
  - github.com/grafana/grafana < 7.2.1
patched:
  - github.com/grafana/grafana 7.2.1
published: '2022-05-24'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:29.467192240Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-3jq7-8ph8-63xm'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2020-12458'
  - url: 'https://github.com/grafana/grafana/issues/8283'
  - url: >-
      https://github.com/grafana/grafana/commit/102448040d5132460e3b0013e03ebedec0677e00
  - url: 'https://access.redhat.com/security/cve/CVE-2020-12458'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=1827765'
  - url: 'https://github.com/grafana/grafana'
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CTQCKJZZYXMCSHJFZZ3YXEO5NUBANGZS
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WEBCIEVSYIDDCA7FTRS2IFUOYLIQU34A
  - url: 'https://security.netapp.com/advisory/ntap-20200518-0001'
tags:
  - osv
  - go
epss: 0.00469
epssPercentile: 0.37881
ingestedAt: '2026-09-12T03:13:01.749Z'
---

## Overview

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).

## Affected packages

- `github.com/grafana/grafana < 7.2.1`

## Remediation

Upgrade to a patched release:

- `github.com/grafana/grafana 7.2.1`
