CVE-2021-31231 json
The Alertmanager in Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1 has a local file disclosure vulnerability when exp…
published 2021-04-30 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-18144
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
The Alertmanager in Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1 has a local file disclosure vulnerability when experimental.alertmanager.enable-api is used. The HTTP basic auth password_file can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list.
Patch / fix
- grafana enterprise_metrics 1.2.1
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
References
-
grafana.com
/docs/metrics-enterprise/
product, vendor-advisory
-
community.grafana.com
/c/security-announcements
broken-link, vendor-advisory
-
grafana.com
/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021
release-notes, vendor-advisory
-
grafana.com
/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021
release-notes, vendor-advisory
-
security.netapp.com
/advisory/ntap-20210611-0001/
third-party-advisory
Sources
- CVE List CVE-2021-31231
- NVD CVE-2021-31231
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.