Advisory record · GHSA-4v48-4q5m-8vx4

Prometheus vulnerable to basic authentication bypass

CVSS 7.2 High

Published by the GitHub Advisory Database at 5 Dec 2022, 22:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/prometheus/prometheusGo>=2.24.1, <2.37.4 || >=2.38.0, <2.40.42.37.4, 2.40.4
github.com/prometheus/prometheus/v2Go>=2.24.1, <2.37.4 || >=2.38.0, <2.40.42.37.4, 2.40.4
Identifiers
GHSA-4v48-4q5m-8vx4
Weakness (CWE)
CWE-303
Published
5 Dec 2022
Updated
15 Apr 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Prometheus versions from 2.24.1 up to but not including 2.37.4, and 2.38.0 up to but not including 2.40.4, are vulnerable to a basic authentication bypass when web.yml basic authentication is enabled. An attacker who already knows a user's bcrypt-hashed password can forge requests that poison an internal hash cache and authenticate to Prometheus. Upgrade to Prometheus 2.37.4 or 2.40.4. No workaround is listed, other than that the attacker must already have access to the hashed password on disk.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.2 High 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 15:08 UTC First seen by agentprime
  2. 31 Oct 2026, 15:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.