Is github.com/prometheus/prometheus 0.306 vulnerable?
Go · 1 release from 0.306.0 to 0.306.0 · latest github.com/prometheus/prometheus is 0.316.0 · checked 18 Nov 2026
Yes: 8 known advisories
Yes. github.com/prometheus/prometheus 0.306.0, the last 0.306 release, is affected by 8 known security advisories (2 high, 2 medium, 4 low), including CVE-2026-42154, CVE-2026-42151, CVE-2026-44903. Upgrade to 0.311.3 or later to fix all of them.
go get github.com/prometheus/prometheus@v0.311.3Is your project on an affected github.com/prometheus/prometheus?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting github.com/prometheus/prometheus 0.306.0
Prometheus has Stored XSS via metric names and label values in Prometheus web UI in github.com/prometheus/prometheus
- Affected
- <0.311.2-0.20260410083055-07c6232d159b
- Fixed in
- 0.311.2-0.20260410083055-07c6232d159b
Prometheus Azure AD remote write OAuth client secret exposed via config API in github.com/prometheus/prometheus
- Affected
- >=0.45.2 <0.311.3
- Fixed in
- 0.311.3
Prometheus vulnerable to stored XSS via crafted histogram bucket label values in the old web UI heatmap display in github.com/prometheus/prometheus
- Affected
- <0.311.3
- Fixed in
- 0.311.3
Prometheus: Remote read endpoint allows denial of service via crafted snappy payload in github.com/prometheus/prometheus
- Affected
- <0.305.2 · >=0.306.0 <0.311.3 · >=1.0.0-rc.0
- Fixed in
- 0.305.2, 0.311.3
Prometheus vulnerable to stored XSS via crafted histogram bucket label values in the old web UI heatmap display
- Affected
- <0.311.3
- Fixed in
- 0.311.3
Prometheus: Remote read endpoint allows denial of service via crafted snappy payload
- Affected
- >=0.306.0 <0.311.3 · <0.305.2 · >=1.0.0-rc.0 <=2.5.0
- Fixed in
- 0.305.2, 0.311.3
Prometheus Azure AD remote write OAuth client secret exposed via config API
- Affected
- >=0.45.2 <0.311.3
- Fixed in
- 0.311.3
Prometheus has Stored XSS via metric names and label values in Prometheus web UI tooltips and metrics explorer
- Affected
- >=3.0.0 <3.5.2 · >=3.6.0 <3.11.2 · <0.311.2-0.20260410083055-07c6232d159b
- Fixed in
- 0.311.2-0.20260410083055-07c6232d159b, 3.5.2, 3.11.2
Which of your client projects are still on github.com/prometheus/prometheus 0.306?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/prometheus/prometheus version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other github.com/prometheus/prometheus versions
- github.com/prometheus/prometheus 0.309
- github.com/prometheus/prometheus 0.308
- github.com/prometheus/prometheus 0.307
- github.com/prometheus/prometheus 0.305
- github.com/prometheus/prometheus 0.304
- github.com/prometheus/prometheus 0.303
- github.com/prometheus/prometheus 2.5
- github.com/prometheus/prometheus 2.4
- github.com/prometheus/prometheus 2.3
- github.com/prometheus/prometheus 2.2
- github.com/prometheus/prometheus 2.1
- github.com/prometheus/prometheus 2.0
- All github.com/prometheus/prometheus advisories
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.