Skip to main content
← All vulnerabilities
CVE-2026-114603GHSA-XCQ7-P3PF-P88H

OpenTelemetry Python: Unbounded tracestate parsing in opentelemetry-api

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.45.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

OpenTelemetry Python's opentelemetry-api package, specifically its W3C Trace Context propagator used to parse incoming tracestate headers, is affected. An attacker can send a single crafted request with a long run of spaces or tabs to make a service consume excessive CPU time, which can slow or block other requests, but it does not expose or change data.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

OpenTelemetry Python provides the Python API and SDK for OpenTelemetry. Prior to 1.45.1, the opentelemetry-api function TraceState.from_header in opentelemetry/trace/span.py, reached through TraceContextTextMapPropagator.extract, parses inbound W3C tracestate headers with an unbounded optional-whitespace regular expression. A malformed header containing a long run of spaces or tabs without a following comma causes quadratic backtracking before the member-count limit is applied. Services using the default W3C Trace Context propagator can therefore spend excessive CPU time on one unauthenticated request when the HTTP server, parser, gateway, or custom carrier accepts a sufficiently large header. The processing can occupy a synchronous worker or delay unrelated requests on the same asynchronous event loop. The impact is limited to availability and does not expose or modify telemetry data or allow code execution. This issue is fixed in version 1.45.1.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  4. Record last updated

Affected versions

  • open-telemetry opentelemetry-python

    fixed in 1.45.1

  • opentelemetry-apiPyPI

    fixed in 1.45.1

References 5

GitHub · open-telemetry/opentelemetry-python