Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/open-telemetry/opentelemetry-collector-contrib/extension/azureauthextension
  4. ›
  5. CVE-2026-42602

CVE-2026-42602: opentelemetry-collector-contrib's azureauthextension Authenticate method does not validate bearer tokens, allowing auth bypass via replay

May 6, 2026

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

Severity: High (CVSS 8.1). See “Threat model” below for the preconditions that inform that score.

References

  • github.com/advisories/GHSA-pjv4-3c63-699f
  • github.com/open-telemetry/opentelemetry-collector-contrib
  • github.com/open-telemetry/opentelemetry-collector-contrib/security/advisories/GHSA-pjv4-3c63-699f
  • nvd.nist.gov/vuln/detail/CVE-2026-42602

Code Behaviors & Features

Detect and mitigate CVE-2026-42602 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.124.0 up to 0.150.0

Solution

Unfortunately, there is no solution available yet.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • 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

Source file

go/github.com/open-telemetry/opentelemetry-collector-contrib/extension/azureauthextension/CVE-2026-42602.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:20:41 +0000.