Is github.com/prometheus/prometheus 1.8 vulnerable?

Go · 3 releases from 1.8.0 to 1.8.2 · latest github.com/prometheus/prometheus is 0.316.0 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. github.com/prometheus/prometheus 1.8.2, the last 1.8 release, is affected by 2 known security advisories (1 high, 1 low), including CVE-2026-42154, CVE-2026-42154. At least one has no fixed release yet.

Is your project on an affected github.com/prometheus/prometheus?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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 1.8.2

  • LowCVE-2026-42154GO-2026-526425 Jun 2026

    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
  • HighCVE-2026-42154GHSA-8rm2-7qqf-34qm5 May 2026

    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

Every github.com/prometheus/prometheus 1.8.x release

Affected: 1.8.0 to 1.8.2. Latest github.com/prometheus/prometheus: 0.316.0.

VersionKnown advisories
github.com/prometheus/prometheus 1.8.2CVE-2026-42154, CVE-2026-42154
github.com/prometheus/prometheus 1.8.1CVE-2026-42154, CVE-2026-42154
github.com/prometheus/prometheus 1.8.0CVE-2026-42154, CVE-2026-42154

Which of your client projects are still on github.com/prometheus/prometheus 1.8?

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

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.