# CVE-2026-126360: OpenTelemetry Python: Denial of service through quadratic-time traceparent parsing in opentelemetry-api

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-11-12T22:24:22.023Z
- Modified: 2026-11-13T17:00:03.925Z
- Also known as: GHSA-mf5v-w3w3-f6cg
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- open-telemetry opentelemetry-python: < 1.45.2
- opentelemetry-api (PyPI): before 1.45.2

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/open-telemetry/opentelemetry-python/security/advisories/GHSA-mf5v-w3w3-f6cg> (web)
- <https://github.com/open-telemetry/opentelemetry-python/pull/5818> (web)
- <https://github.com/open-telemetry/opentelemetry-python/pull/5856> (web)
- <https://github.com/open-telemetry/opentelemetry-python/commit/78123a2755c907c602e02352aebed4be86aa5350> (web)
- <https://github.com/open-telemetry/opentelemetry-python/commit/faa72dae511ae64a7bf8ca63eff9ad4387d0b939> (web)
- <https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.45.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126360> (advisory)
- <https://github.com/open-telemetry/opentelemetry-python> (package)

## Sources

- CVE List: [CVE-2026-126360](https://www.cve.org/CVERecord?id=CVE-2026-126360), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-mf5v-w3w3-f6cg](https://github.com/advisories/GHSA-mf5v-w3w3-f6cg), CC-BY-4.0, modified 2026-11-13
- NVD: [CVE-2026-126360](https://nvd.nist.gov/vuln/detail/CVE-2026-126360), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-126360 · Whole record: https://cve.day/CVE-2026-126360.json · Rebuilt by cve.day 2026-11-25T22:59:50.578Z
