CVE-2021-31231Grafana Enterprise Metrics
Medium 5.5
Follow: this CVE · Grafana · Grafana Enterprise Metrics We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 14
- Auth required
- Yes
- Published
- Apr 30, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Enterprise Metrics.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| grafana | enterprise_metrics | < 1.2.1 |
| grafana | enterprise_metrics | < 1.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- community.grafana.com Broken Link Vendor Advisory
- grafana.com Product Vendor Advisory
- grafana.com Release Notes Vendor Advisory
- grafana.com Release Notes Vendor Advisory
- security.netapp.com Third Party Advisory