# CVE-2021-31231

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-04-30 · Modified: 2024-08-03
- Record: https://cvemate.com/vulnerability/CVE-2021-31231 · JSON: https://cvemate.com/vulnerability/CVE-2021-31231/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.287%, percentile 22.802%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- grafana enterprise\_metrics: \< 1.2.1

## References

- <https://grafana.com/docs/metrics-enterprise/>
- <https://community.grafana.com/c/security-announcements>
- <https://grafana.com/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021>
- <https://grafana.com/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021>
- <https://security.netapp.com/advisory/ntap-20210611-0001/>

---

Data as of 2026-12-05T13:18:00.889Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
