CVE-2026-40179Prometheus
Media 5.3 Sin autenticación
Seguir: esta CVE · Prometheus · Prometheus Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 4.0
- 5.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 15 abr 2026
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
Prometheus 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Prometheus.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/prometheus/prometheus |
≥ 3.0.0 < 3.5.2 |
3.5.2 |
go get github.com/prometheus/prometheus@v3.5.2 |
| Go | github.com/prometheus/prometheus |
≥ 3.6.0 < 3.11.2 |
3.11.2 |
go get github.com/prometheus/prometheus@v3.11.2 |
| Go | github.com/prometheus/prometheus |
< 0.311.2-0.20260410083055-07c6232d159b |
0.311.2-0.20260410083055-07c6232d159b |
go get github.com/prometheus/prometheus@v0.311.2-0.20260410083055-07c6232d159b |
| Go | github.com/prometheus/prometheus |
< 0.311.2-0.20260410083055-07c6232d159b |
0.311.2-0.20260410083055-07c6232d159b |
go get github.com/prometheus/prometheus@v0.311.2-0.20260410083055-07c6232d159b |
Según OSV / GitHub Advisories (GHSA-vffh-x6r8-xx99, GO-2026-5662). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| prometheus | prometheus | ≥ 3.0.0 < 3.5.2 |
| prometheus | prometheus | ≥ 3.6.0 < 3.11.2 |
Boletines oficiales
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · 30 jul 2026 Crítica
- Security update 5.1.4 for Multi-Linux Manager Server · SUSE · SUSE-SU-2026:2774-1 · 6 jul 2026 Crítica
- Security update 5.1.4 for Multi-Linux Manager Client Tools · SUSE · SUSE-SU-2026:2768-1 · 6 jul 2026 Crítica
Además: SUSE (+1)
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Mitigation Vendor Advisory