Read the docs

Denial of service in OpenTelemetry Python API via traceparent parsing

Priority LOW 31CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1333.

Summary

The opentelemetry-api PyPI package for OpenTelemetry Python, from 0 before 1.45.2, has inefficient regular expression complexity (CWE-1333) in TraceContextTextMapPropagator.extract(). A malformed traceparent value causes quadratic-time backtracking, so an unauthenticated remote attacker can consume CPU and delay unrelated requests on an asynchronous server by sending such a value through a carrier that preserves newlines, such as some JSON-based carriers. The advisory does not establish disclosure, modification or code execution.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

OpenTelemetry Python provides the Python API and SDK for OpenTelemetry. Prior to 1.45.2, TraceContextTextMapPropagator.extract() in opentelemetry-api can perform quadratic-time regular-expression backtracking on a malformed traceparent value containing a trace-context prefix, a long whitespace sequence, and an embedded newline. Exploitation requires an attacker-controlled carrier that preserves embedded newlines and permits a sufficiently large value, because conforming HTTP header values cannot contain embedded newlines. JSON-based carriers, including applicable MCP request metadata integrations, can preserve the required newline depending on the SDK, instrumentation, and message-size limits. Parsing on an asynchronous server's event-loop thread can consume excessive CPU and delay unrelated requests, while the advisory does not establish disclosure, modification, or code execution. This issue is fixed in version 1.45.2.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00519 44th percentileScored 2026-11-16
Fix Fixed opentelemetry-python (open-telemetry): 1.45.2opentelemetry-api (PyPI): 1.45.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
open-telemetryopentelemetry-pythonbefore 1.45.21.45.2Patch availableCNA
—opentelemetry-api (PyPI)before 1.45.21.45.2Patch availableGHSA-mf5v-w3w3-f6cg
  • opentelemetry-python Vendoropen-telemetry Affected before 1.45.2 Fixed in 1.45.2 Patch available CNA
  • opentelemetry-api (PyPI) Vendor— Affected before 1.45.2 Fixed in 1.45.2 Patch available GHSA-mf5v-w3w3-f6cg

Remediation

Upgrade opentelemetry-python and the opentelemetry-api PyPI package to version 1.45.2, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA opentelemetry-python (open-telemetry) Fixed in 1.45.2
  • Fix · GHSA-mf5v-w3w3-f6cg opentelemetry-api (PyPI) Fixed in 1.45.2 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from CVE-2026-126360
  2. 2026-11-13 CISA SSVC decision points changed
  3. 2026-11-13 Alias added: GHSA-mf5v-w3w3-f6cg
  4. 2026-11-13 Fix available: PyPI/[email protected] · GHSA-mf5v-w3w3-f6cg
  5. 2026-11-13 CVSS score added · GHSA-mf5v-w3w3-f6cg
  6. 2026-11-13 Weakness changed · GHSA-mf5v-w3w3-f6cg
  7. 2026-11-13 8 new references · GHSA-mf5v-w3w3-f6cg

References

  • TI-2024-23957 OpenTelemetry Collector has a Denial of Service via Zip/Decompression Bomb sent over HTTP or gRPC CVSS 3.1HIGH 8.2
  • TI-2026-42706 OpenTelemetry JavaScript: Denial of service in `JaegerPropagator` via unhandled exception on a malformed header CVSS 3.1HIGH 7.5
  • TI-2026-33428 OpenTelemetry eBPF Instrumentation: Memcached payload length overflow can crash OBI CVSS 3.1HIGH 7.5
  • TI-2026-33427 OpenTelemetry eBPF Instrumentation: MongoDB parser panics on malformed wire messages CVSS 3.1HIGH 7.5
  • TI-2026-33420 OpenTelemetry eBPF Instrumentation: Postgres BIND parsing can panic on malformed payloads CVSS 3.1HIGH 7.5
  • TI-2026-32777 opentelemetry-js: Prometheus exporter process crash via malformed HTTP request CVSS 3.1HIGH 7.5
See all 66 →

Sources