CVE-2026-40179
prometheus prometheus
Patch priority
RegularFix with the next regular update.
- CVSS
- 6.1
- Severity
- 6.1
- EPSS
- 0.3 %
- Percentile
- 28
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run prometheus prometheus. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDPrometheus is an open-source monitoring system and time series database. Versions 3.0 through 3.5.1 and 3.6.0 through 3.11.1 have stored cross-site scripting vulnerabilities in multiple components of the Prometheus web UI where metric names and label values are injected into innerHTML without escaping. In both the Mantine UI and old React UI, chart tooltips on the Graph page render metric names containing HTML/JavaScript without sanitization. In the old React UI, the Metric Explorer fuzzy search results use dangerouslySetInnerHTML without escaping, and heatmap cell tooltips interpolate le label values without sanitization. With Prometheus v3.x defaulting to UTF-8 metric and label name validation, characters like <, >, and " are now valid in metric names and labels. An attacker who can inject metrics via a compromised scrape target, remote write, or OTLP receiver endpoint can execute arbitrary JavaScript in the browser of any Prometheus user who views the metric in the Graph UI, potentially enabling configuration exfiltration, data deletion, or Prometheus shutdown depending on enabled flags. This issue has been fixed in versions 3.5.2 and 3.11.2. If developers are unable to immediately update, the following workarounds are recommended: ensure that the remote write receiver (--web.enable-remote-write-receiver) and the OTLP receiver (--web.enable-otlp-receiver) are not exposed to untrusted sources; verify that all scrape targets are trusted and not under attacker control; avoid enabling admin or mutating API endpoints (e.g., --web.enable-admin-api or --web.enable-lifecycle) in environments where untrusted data may be ingested; and refrain from clicking untrusted links, particularly those containing functions such as label_replace, as they may generate poisoned label names and values.
- Vendor / product
- prometheus prometheus
- Published
- 16.04.2026
- Modified
- 17.06.2026
- CWE
- CWE-79
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vendor updates
7- SUSE: SUSE-SU-2026:22493-1 – Security update 5.1.4 for Multi-Linux Manager Client Tools and Salt Bundle 06.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2768-1 – Security update 5.1.4 for Multi-Linux Manager Client Tools 06.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2774-1 – Maintenance update for Multi-Linux Manager 5.1: Server, Proxy and Retail Branch Server 06.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2265-1 – Maintenance update for Multi-Linux Manager 4.3 Release Notes Release Notes 04.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2267-1 – Security update for golang-github-prometheus-prometheus 04.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2243-1 – Security update 5.0.8 for Multi-Linux Manager Client Tools 03.06.2026 · Critical · Patch day
- Microsoft: Mariner 17.04.2026 · Medium · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.