Live threats

All CVEs / Grafana

CVE-2021-31231Grafana Enterprise Metrics

Medium 5.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Enterprise Metrics.

Affected products (CPE)

VendorProductVersions
grafanaenterprise_metrics< 1.2.1
grafanaenterprise_metrics< 1.2.1

Official sources

References

Links published by the sources. Open them with care.