Skip to content

CVE-2026-42602 azureauthextension Authenticate method does not validate bearer tokens, allowing auth bypass via replay

HighCVSS 8.1 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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).

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
@opentelemetry opentelemetry collector contrib >= 0.124.0, <= 0.150.0 after 0.150.0 Fixed
open-telemetry github.com/open-telemetry/opentelemetry-collector-contrib/extension/azureauthextension(Go) >= 0.124.0, < 0.151.0; >= 0.124.0, <= 0.150.0 0.151.0 Fixed
open-telemetry opentelemetry-collector-contrib = >= 0.124.0, <= 0.150.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
open-telemetry opentelemetry-collector-contrib = >= 0.124.0, <= 0.150.0 No fix listed
open-telemetry github.com/open-telemetry/opentelemetry-collector-contrib/extension/azureauthextension(Go) >= 0.124.0, <= 0.150.0 No fix listed
open-telemetry github.com/open-telemetry/opentelemetry-collector-contrib/extension/azureauthextension(Go) >= 0.124.0, < 0.151.0 0.151.0
@opentelemetry opentelemetry collector contrib >= 0.124.0, <= 0.150.0 No fix listed

References