{"id":"CVE-2021-31231","aliases":["EUVD-2021-18144","GHSA-rm28-h995-22q5"],"status":"published","title":"The Alertmanager in Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1 has a...","description":"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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00277,"percentile":0.20407,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2021-04-30T12:34:28Z","modified":"2026-06-17T03:51:29Z","products":[{"vendor":"grafana","product":"enterprise_metrics"}],"references":[{"url":"https://grafana.com/docs/metrics-enterprise/","tags":["x_refsource_MISC","x_transferred","Product","Vendor Advisory"]},{"url":"https://community.grafana.com/c/security-announcements","tags":["x_refsource_MISC","x_transferred","Broken Link","Vendor Advisory"]},{"url":"https://grafana.com/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory"]},{"url":"https://grafana.com/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210611-0001/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31231"},{"url":"https://github.com/advisories/GHSA-rm28-h995-22q5"}],"sources":{"cve":[{"id":"CVE-2021-31231","description":"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.","status":"published","published":"2021-04-30T12:34:28Z","modified":"2024-08-03T22:55:53.696Z","updated_at":"2026-11-02T14:33:05.331617Z"}],"euvd":[{"id":"EUVD-2021-18144","description":"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.","status":"published","published":"2021-04-30T12:34:28Z","modified":"2024-08-03T22:55:53Z","updated_at":"2026-11-03T03:24:39.559154Z"}],"ghsa":[{"id":"GHSA-rm28-h995-22q5","title":"The Alertmanager in Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1 has a...","description":"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.","status":"published","published":"2022-05-24T17:49:19Z","modified":"2023-01-29T05:07:28Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:46:10.15423Z"}],"nvd":[{"id":"CVE-2021-31231","description":"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.","status":"published","published":"2021-04-30T13:15:07.547Z","modified":"2026-06-17T03:51:29.3Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary"}],"updated_at":"2026-11-02T14:06:52.81233Z"}]}}
