Prometheus Azure AD remote write OAuth client secret exposed via config API
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-42151
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 23:27 UTC · Revision 1
Source evidence
Prometheus Azure AD remote write OAuth client secret exposed via config API
core-osv · Original sourcePublished 4 May 2026, 18:12 UTC
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.
osv:CVE-2026-42151
Complete source record
{
"id": "bc36ba0af73264e43c68468531c9887da8642a3deea4f72fb759c964302be9fc",
"url": "https://osv.dev/vulnerability/CVE-2026-42151",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Prometheus Azure AD remote write OAuth client secret exposed via config API",
"summary": "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.",
"evidence": "osv:CVE-2026-42151",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-42151",
"aliases": [
"BIT-prometheus-2026-42151",
"CVE-2026-42151",
"GHSA-wg65-39gg-5wfj",
"GO-2026-5710"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/prometheus/prometheus",
"type": "GIT",
"events": [
{
"introduced": "6d80b30990bc297d95b5c844e118c4011fad8054"
},
{
"fixed": "dcd3d551ced8b8dc14e0217f8cb14e547109cd5f"
},
{
"introduced": "491734606591ef8c188f5489c70380805bc868c0"
},
{
"fixed": "eb173f5256d4022afba1e9bc3d19740a76859fae"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.48.0"
},
{
"fixed": "3.5.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.6.0"
},
{
"fixed": "3.11.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "eb173f5256d4022afba1e9bc3d19740a76859fae"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v3.11.3"
},
{
"range": [
{
"fixed": "dcd3d551ced8b8dc14e0217f8cb14e547109cd5f"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v3.5.3"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42151.json"
}
}
],
"modified": "2026-10-28T02:30:40.628539123Z",
"provider": "osv",
"references": [
"https://github.com/prometheus/prometheus/releases/tag/v3.11.3",
"https://github.com/prometheus/prometheus/releases/tag/v3.5.3",
"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42151.json",
"https://access.redhat.com/errata/RHSA-2026:25039",
"https://access.redhat.com/errata/RHSA-2026:25245",
"https://access.redhat.com/errata/RHSA-2026:25504",
"https://access.redhat.com/errata/RHSA-2026:34357",
"https://access.redhat.com/errata/RHSA-2026:34359",
"https://access.redhat.com/errata/RHSA-2026:36651",
"https://access.redhat.com/errata/RHSA-2026:36796",
"https://access.redhat.com/errata/RHSA-2026:36797",
"https://access.redhat.com/errata/RHSA-2026:37267",
"https://access.redhat.com/errata/RHSA-2026:37271",
"https://access.redhat.com/errata/RHSA-2026:37272",
"https://access.redhat.com/errata/RHSA-2026:40118",
"https://access.redhat.com/errata/RHSA-2026:40262",
"https://access.redhat.com/errata/RHSA-2026:40768",
"https://access.redhat.com/errata/RHSA-2026:40945",
"https://access.redhat.com/errata/RHSA-2026:40970",
"https://access.redhat.com/errata/RHSA-2026:40972",
"https://access.redhat.com/errata/RHSA-2026:40974",
"https://access.redhat.com/errata/RHSA-2026:41019",
"https://access.redhat.com/errata/RHSA-2026:41030",
"https://access.redhat.com/errata/RHSA-2026:41031",
"https://access.redhat.com/errata/RHSA-2026:41066",
"https://access.redhat.com/errata/RHSA-2026:42146",
"https://access.redhat.com/errata/RHSA-2026:42796",
"https://access.redhat.com/errata/RHSA-2026:42852",
"https://access.redhat.com/errata/RHSA-2026:43052",
"https://access.redhat.com/errata/RHSA-2026:44622",
"https://access.redhat.com/errata/RHSA-2026:47149",
"https://access.redhat.com/errata/RHSA-2026:47952",
"https://access.redhat.com/errata/RHSA-2026:50843",
"https://access.redhat.com/errata/RHSA-2026:50874",
"https://access.redhat.com/errata/RHSA-2026:53412",
"https://access.redhat.com/errata/RHSA-2026:53413",
"https://access.redhat.com/errata/RHSA-2026:53415",
"https://access.redhat.com/errata/RHSA-2026:53530",
"https://access.redhat.com/errata/RHSA-2026:54288",
"https://access.redhat.com/errata/RHSA-2026:54427",
"https://access.redhat.com/errata/RHSA-2026:56340",
"https://access.redhat.com/errata/RHSA-2026:57191",
"https://access.redhat.com/errata/RHSA-2026:60386",
"https://access.redhat.com/errata/RHSA-2026:60387",
"https://access.redhat.com/errata/RHSA-2026:60388",
"https://access.redhat.com/errata/RHSA-2026:60389",
"https://access.redhat.com/errata/RHSA-2026:60390",
"https://access.redhat.com/errata/RHSA-2026:60391",
"https://access.redhat.com/errata/RHSA-2026:60441",
"https://access.redhat.com/errata/RHSA-2026:60477",
"https://access.redhat.com/errata/RHSA-2026:63103",
"https://access.redhat.com/security/cve/CVE-2026-42151",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42151.json",
"https://github.com/prometheus/prometheus/security/advisories/GHSA-wg65-39gg-5wfj",
"https://nvd.nist.gov/vuln/detail/CVE-2026-42151",
"https://bugzilla.redhat.com/show_bug.cgi?id=2466507",
"https://github.com/prometheus/prometheus/pull/18587",
"https://github.com/prometheus/prometheus/pull/18590"
],
"provider_metadata": {
"cwe_ids": [
"CWE-200",
"CWE-312"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42151.json"
}
},
"related_cves": [
{
"value": "CVE-2026-42151",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507981,
"published_at": "2026-05-04T18:12:16.917+00:00"
}