{"id":"UBUNTU-CVE-2026-126360","details":"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.","modified":"2026-11-18T11:14:54Z","published":"2026-11-13T00:20:00Z","upstream":["CVE-2026-126360"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-126360"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-126360"},{"type":"REPORT","url":"https://github.com/open-telemetry/opentelemetry-python/commit/78123a2755c907c602e02352aebed4be86aa5350"},{"type":"REPORT","url":"https://github.com/open-telemetry/opentelemetry-python/commit/faa72dae511ae64a7bf8ca63eff9ad4387d0b939"},{"type":"REPORT","url":"https://github.com/open-telemetry/opentelemetry-python/pull/5818"},{"type":"REPORT","url":"https://github.com/open-telemetry/opentelemetry-python/pull/5856"},{"type":"REPORT","url":"https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.45.2"},{"type":"REPORT","url":"https://github.com/open-telemetry/opentelemetry-python/security/advisories/GHSA-mf5v-w3w3-f6cg"}],"affected":[{"package":{"name":"python-opentelemetry","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/python-opentelemetry?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.39.1-2","1.42.1-1","1.43.0-1","1.44.0-1","1.44.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-opentelemetry-api","binary_version":"1.44.0-2"},{"binary_version":"1.44.0-2","binary_name":"python3-opentelemetry-configuration"},{"binary_name":"python3-opentelemetry-exporter-otlp","binary_version":"1.44.0-2"},{"binary_version":"1.44.0-2","binary_name":"python3-opentelemetry-exporter-otlp-proto-common"},{"binary_name":"python3-opentelemetry-exporter-otlp-proto-grpc","binary_version":"1.44.0-2"},{"binary_name":"python3-opentelemetry-exporter-otlp-proto-http","binary_version":"1.44.0-2"},{"binary_name":"python3-opentelemetry-exporter-prometheus","binary_version":"1.44.0-2"},{"binary_version":"1.44.0-2","binary_name":"python3-opentelemetry-exporter-zipkin-json"},{"binary_version":"1.44.0-2","binary_name":"python3-opentelemetry-exporter-zipkin-proto-http"},{"binary_name":"python3-opentelemetry-opentracing-shim","binary_version":"1.44.0-2"},{"binary_name":"python3-opentelemetry-propagator-b3","binary_version":"1.44.0-2"},{"binary_name":"python3-opentelemetry-propagator-jaeger","binary_version":"1.44.0-2"},{"binary_name":"python3-opentelemetry-proto","binary_version":"1.44.0-2"},{"binary_version":"1.44.0-2","binary_name":"python3-opentelemetry-proto-json"},{"binary_name":"python3-opentelemetry-sdk","binary_version":"1.44.0-2"},{"binary_name":"python3-opentelemetry-semantic-conventions","binary_version":"1.44.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126360.json"}},{"package":{"name":"python-opentelemetry","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-opentelemetry?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.38.0-1","1.38.0-2","1.39.1-1","1.39.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-opentelemetry-api","binary_version":"1.39.1-2"},{"binary_name":"python3-opentelemetry-exporter-otlp","binary_version":"1.39.1-2"},{"binary_version":"1.39.1-2","binary_name":"python3-opentelemetry-exporter-otlp-proto-common"},{"binary_name":"python3-opentelemetry-exporter-otlp-proto-grpc","binary_version":"1.39.1-2"},{"binary_name":"python3-opentelemetry-exporter-otlp-proto-http","binary_version":"1.39.1-2"},{"binary_name":"python3-opentelemetry-exporter-prometheus","binary_version":"1.39.1-2"},{"binary_name":"python3-opentelemetry-exporter-zipkin-json","binary_version":"1.39.1-2"},{"binary_version":"1.39.1-2","binary_name":"python3-opentelemetry-exporter-zipkin-proto-http"},{"binary_name":"python3-opentelemetry-opentracing-shim","binary_version":"1.39.1-2"},{"binary_name":"python3-opentelemetry-propagator-b3","binary_version":"1.39.1-2"},{"binary_name":"python3-opentelemetry-propagator-jaeger","binary_version":"1.39.1-2"},{"binary_name":"python3-opentelemetry-proto","binary_version":"1.39.1-2"},{"binary_version":"1.39.1-2","binary_name":"python3-opentelemetry-sdk"},{"binary_version":"1.39.1-2","binary_name":"python3-opentelemetry-semantic-conventions"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126360.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}