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).
Published: 2026-05-13
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The azureauthextension component of the OpenTelemetry Collector Contrib package implements Azure authentication but fails to validate incoming bearer tokens as JSON Web Tokens (JWTs). Instead, it obtains a fresh access token using its own configured service principal and compares the client‑supplied token string for equality. The scope for the server‑side token request is derived from the Host header supplied by the client. Consequently, any party that holds a valid Azure access token for any scope the collector’s identity can mint—for example, ARM, Graph, Key Vault, or Storage—can replay that token to authenticate to any OTel receiver that uses the azure_auth mechanism. A matching Host header allows the token to be accepted, granting unauthorized access for the full lifetime of the token (often hours). This bypass allows attackers to act as the collector, potentially injecting telemetry or accessing protected data, and can be performed remotely over the network. The vulnerability demonstrates an Authentication Bypass weakness (CWE‑287) and a potential Replay Attack (CWE‑208). Because the attacker only needs a valid Azure token that is typically long‑lived and can be obtained via standard Azure AD flows, the practical impact is significant. The fix requires that the azureauthextension component validate the token’s signature and claims rather than relying on string comparison. Until a patch is available, mitigation measures such as restricting network exposure or disabling azure_auth providers are advised.

Affected Systems

This issue affects the Azure Authenticator Extension (azureauthextension) within the OpenTelemetry Collector Contrib collection. Vulnerable versions are 0.124.0 through 0.150.0 inclusive. The affected component is used in deployments that rely on Azure AD authentication for OpenTelemetry receivers, such as on Azure-hosted services or custom telemetry collectors.

Risk and Exploitability

The CVSS score of 8.1 indicates a high severity threat that allows remote attackers to bypass authentication. No EPSS score is reported, but the lack of an EPSS score does not imply low likelihood; any user who can obtain a valid Azure access token can exploit the flaw, and the tokens are replayable for several hours. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, which suggests that public exploits may not yet exist but the risk remains high. Attackers can exploit the flaw via ordinary HTTP(S) requests to the collector, provided they can supply the appropriate bearer token and Host header.

Generated by OpenCVE AI on May 13, 2026 at 21:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade open-telemetry/opentelemetry-collector-contrib to a version later than 0.150.0 where the authentication bypass is fixed. This is the preferred and most secure remediation.
  • If an upgrade cannot be performed immediately, limit the collector’s inbound traffic to a trusted network segment or whitelist specific IP addresses to reduce the attack surface.
  • Disable or replace the azure_auth authentication method; consider switching to a different provider that properly validates JWTs or requires mutual TLS authentication.
  • Audit collector logs for unexpected authentication attempts and review token issuance policies in Azure AD to limit unnecessary scopes.

Generated by OpenCVE AI on May 13, 2026 at 21:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-pjv4-3c63-699f opentelemetry-collector-contrib's azureauthextension Authenticate method does not validate bearer tokens, allowing auth bypass via replay
History

Mon, 01 Jun 2026 14:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:opentelemetry:opentelemetry_collector_contrib:*:*:*:*:*:go:*:*

Thu, 14 May 2026 13:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 13 May 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Opentelemetry
Opentelemetry opentelemetry Collector Contrib
Vendors & Products Opentelemetry
Opentelemetry opentelemetry Collector Contrib

Wed, 13 May 2026 20:30:00 +0000

Type Values Removed Values Added
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).
Title azureauthextension Authenticate method does not validate bearer tokens, allowing auth bypass via replay
Weaknesses CWE-208
CWE-287
CWE-290
CWE-294
CWE-347
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}


Subscriptions

Opentelemetry Opentelemetry Collector Contrib
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-14T12:52:53.551Z

Reserved: 2026-04-29T00:31:15.725Z

Link: CVE-2026-42602

cve-icon Vulnrichment

Updated: 2026-05-14T12:51:09.527Z

cve-icon NVD

Status : Analyzed

Published: 2026-05-13T21:16:47.210

Modified: 2026-06-01T13:47:32.807

Link: CVE-2026-42602

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-13T21:45:05Z