CVE-2026-42151
Prometheus Azure AD remote write OAuth client secret exposed via config API
Check your servers for CVE-2026-42151
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-42151 affects prometheus, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Prometheus is an open-source monitoring system and time series database. Prior to versions 3.5.3 and 3.11.3, the client_secret field in the Azure AD remote write OAuth configuration (storage/remote/azuread) was typed as string instead of Secret. Prometheus redacts fields of type Secret when serving the configuration via the /-/config HTTP API endpoint. Because the field was a plain string, the Azure OAuth client secret was exposed in plaintext to any user or process with access to that endpoint. This issue has been patched in versions 3.5.3 and 3.11.3.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.41%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.0% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 4 May 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-256 Plaintext Storage of a Password
- CWE-312 Cleartext Storage of Sensitive Information
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| prometheus |
affected < 3.5.3 affected >= 3.6.0, < 3.11.3
|
Is my server affected?
Find the installed version of prometheus and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i prometheus
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-42151 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-42151RHEL, Rocky, Alma, Fedora
rpm -q prometheus
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-42151Alpine
apk list --installed | grep -i prometheusWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-42151
trivy image --scanners vuln IMAGE | grep CVE-2026-42151
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://github.com/prometheus/prometheus/security/advisories/GHSA-wg65-39gg-5wfj github.com
- https://access.redhat.com/security/cve/CVE-2026-42151 access.redhat.com · vdb entry
- RHBZ#2466507 bugzilla.redhat.com · issue tracking
- https://access.redhat.com/errata/RHSA-2026:41019 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:36796 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:53413 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:34357 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:53412 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:53415 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:34359 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:56340 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:47952 access.redhat.com · vendor advisory
39 more
- https://access.redhat.com/errata/RHSA-2026:50843 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:41030 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:44622 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:47149 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:53530 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:54288 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:60387 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:60390 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:60388 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:54427 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:60389 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:60391 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:57191 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:60386 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:36651 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:40945 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:40118 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:25039 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:25504 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:25245 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:63103 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:60477 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:40768 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:60441 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:41031 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:42146 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:43052 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:42796 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:41066 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:40262 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:40974 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:40970 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:40972 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:36797 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:37272 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:50874 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:37267 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:37271 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:42852 access.redhat.com · vendor advisory
Other references
- https://github.com/prometheus/prometheus/pull/18587 github.com
- https://github.com/prometheus/prometheus/pull/18590 github.com
- https://github.com/prometheus/prometheus/releases/tag/v3.11.3 github.com
- https://github.com/prometheus/prometheus/releases/tag/v3.5.3 github.com
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42151.json security.access.redhat.com
Source: the record CVE-2026-42151 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse