GoWorst: High7 advisories
github.com/prometheus/prometheus: known vulnerabilities
github.com/prometheus/prometheus has 7 reviewed security advisories in the GitHub Advisory Database — 3 high, 4 moderate. The most recent was published 2026-05-26. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/prometheus/prometheus versions running across your servers, containers and images, and ranks what to patch first.
How to fix github.com/prometheus/prometheus
Upgrade github.com/prometheus/prometheus to a release at or above the fixed version shown for each advisory below. For Go:
go get github.com/prometheus/prometheus@0.311.3 && go mod tidy (check govulncheck)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (7)
Prometheus vulnerable to stored XSS via crafted histogram bucket label values in the old web UI heatmap display
Moderate 6.1 CWE-79
— Affected: before 0.311.3. Fixed in 0.311.3. Published 2026-05-26. GHSA-fw8g-cg8f-9j28 · CVE-2026-44903
Prometheus: Remote read endpoint allows denial of service via crafted snappy payload
High 7.5 CWE-400 CWE-789
— Affected: 1.0.0-rc.0 through 2.5.0. No fixed release is listed. Published 2026-05-04. GHSA-8rm2-7qqf-34qm · CVE-2026-42154
Prometheus Azure AD remote write OAuth client secret exposed via config API
High 7.5 CWE-200 CWE-256 CWE-312
— Affected: from 0.45.2 up to 0.311.3. Fixed in 0.311.3. Published 2026-05-04. GHSA-wg65-39gg-5wfj · CVE-2026-42151
Prometheus has Stored XSS via metric names and label values in Prometheus web UI tooltips and metrics explorer
Moderate 6.1 CWE-79
— Affected: before 0.311.2-0.20260410083055-07c6232d159b. Fixed in 0.311.2-0.20260410083055-07c6232d159b. Published 2026-04-15. GHSA-vffh-x6r8-xx99 · CVE-2026-40179
Withdrawn Advisory: Prometheus XSS Vulnerability
Moderate 5.4 CWE-79
— Affected: before 2.7.1. Fixed in 2.7.1. Published 2023-12-13. GHSA-3m87-5598-2v4f · CVE-2019-3826
Prometheus vulnerable to basic authentication bypass
High 7.2 CWE-303
— Affected: from 2.38.0 up to 2.40.4. Fixed in 2.40.4. Published 2022-12-05. GHSA-4v48-4q5m-8vx4
Arbitrary redirects under /new endpoint
Moderate 6.1 CWE-601
— Affected: from 2.27.0 up to 2.27.1. Fixed in 2.27.1. Published 2021-05-19. GHSA-vx57-7f4q-fpc7 · CVE-2021-29622
Find github.com/prometheus/prometheus across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.