Live threats

All CVEs / Prometheus

CVE-2023-40577Prometheus Alertmanager

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.7%
probability of exploitation in 30 days · percentile 48
Auth required
Yes
Published
Aug 25, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

Alertmanager handles alerts sent by client applications such as the Prometheus server. An attacker with the permission to perform POST requests on the /api/v1/alerts endpoint could be able to execute arbitrary JavaScript code on the users of Prometheus Alertmanager. This issue has been fixed in Alertmanager version 0.2.51.

Original NVD text.

What to do

  1. Apply the vendor's security update for Alertmanager.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/prometheus/alertmanager < 0.25.1 0.25.1 go get github.com/prometheus/alertmanager@v0.25.1
Go github.com/prometheus/alertmanager < 0.25.1 0.25.1 go get github.com/prometheus/alertmanager@v0.25.1

Per OSV / GitHub Advisories (GHSA-v86x-5fm3-5p7j, GO-2023-2020). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
prometheusalertmanager0.25.0
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.