tocsin

Go/github.com/prometheus/prometheus CVE-2026-40179: medium 6.1, EPSS 0.31%

Prometheus has Stored XSS via metric names and label values in Prometheus web UI in github.com/prometheus/prometheus

Action: Upgrade github.com/prometheus/prometheus to 0.311.2-0.20260410083055-07c6232d159b or later.

go get github.com/prometheus/prometheus@v0.311.2-0.20260410083055-07c6232d159b

Affected

introducedfixedlast affected
00.311.2-0.20260410083055-07c6232d159b-

Fixed versions

0.311.2-0.20260410083055-07c6232d159b

Sources

CVE-2026-40179 · published · modified · JSON