CVE-2026-42602

azureauthextension Authenticate method does not validate bearer tokens, allowing auth bypass via replay

State
Published
Severity
8.1 High
Published
May 13, 2026
Updated
May 14, 2026
Reserved
Apr 29, 2026

Read the record on cve.org

Description

azureauthextension is the Azure Authenticator Extension. From 0.124.0 to 0.150.0, a server-side authentication bypass in azureauthextension allows any party who holds a single valid Azure access token for any scope the collector's configured identity can mint for to authenticate to any OpenTelemetry receiver that uses auth: azure_auth. The extension's Authenticate method does not validate incoming bearer tokens as JWTs. Instead, it calls its own configured credential to obtain an access token and compares the client's token to the result with string equality — and the scope for that server-side token request is taken from the client-supplied Host header. As a result, a token minted for any Azure resource the service principal has ever been issued a token for (ARM, Graph, Key Vault, Storage, etc.) will authenticate to the collector if the attacker picks a matching Host. Tokens are replayable for the full issued lifetime (commonly several hours for managed identity tokens).

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HGitHub_M

Weaknesses

  • CWE-208 Observable Timing Discrepancy
  • CWE-287 Improper Authentication
  • CWE-290 Authentication Bypass by Spoofing
  • CWE-294 Authentication Bypass by Capture-replay
  • CWE-347 Improper Verification of Cryptographic Signature

Affected Products

ProductVersions
opentelemetry-collector-contribopen-telemetry
  • >= 0.124.0, <= 0.150.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.