Denial of service in OpenTelemetry Python API via traceparent parsing
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| open-telemetry | opentelemetry-python | before 1.45.2 | 1.45.2 | Patch available | CNA |
| — | opentelemetry-api (PyPI) | before 1.45.2 | 1.45.2 | Patch available | GHSA-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
- 2026-11-12 Threatist record created from CVE-2026-126360
- 2026-11-13 CISA SSVC decision points changed
- 2026-11-13 Alias added: GHSA-mf5v-w3w3-f6cg
- 2026-11-13 Fix available: PyPI/[email protected] · GHSA-mf5v-w3w3-f6cg
- 2026-11-13 CVSS score added · GHSA-mf5v-w3w3-f6cg
- 2026-11-13 Weakness changed · GHSA-mf5v-w3w3-f6cg
- 2026-11-13 8 new references · GHSA-mf5v-w3w3-f6cg
References
Other 7
- https://github.com/open-telemetry/opentelemetry-python/security/advisories/GHSA-mf5v-w3w3-f6cg
- https://github.com/open-telemetry/opentelemetry-python/pull/5818
- https://github.com/open-telemetry/opentelemetry-python/pull/5856
- https://github.com/open-telemetry/opentelemetry-python/commit/78123a2755c907c602e02352aebed4be86aa5350
- https://github.com/open-telemetry/opentelemetry-python/commit/faa72dae511ae64a7bf8ca63eff9ad4387d0b939
- https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.45.2
- https://github.com/open-telemetry/opentelemetry-python
More open-telemetry vulnerabilities
- 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
Sources
- CVE-2026-126360 · CVE Program
- CVE-2026-126360 · NVD
- FIRST EPSS
- GHSA-mf5v-w3w3-f6cg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences