CVE-2026-126360
Published:November 12, 2026
Updated:November 13, 2026
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.
Affected Packages
opentelemetry-api (CONDA):
Affected version(s) >=0.15b0 <1.45.2 || >=1.0.0 <1.45.2Fix Suggestion:
Update to version 1.45.2https://github.com/open-telemetry/opentelemetry-python.git (GITHUB):
Affected version(s) >=v0.1.0 <v1.45.2 || >=v1.0.0rc1 <v1.45.2Fix Suggestion:
Update to version v1.45.2opentelemetry-api (PYTHON):
Affected version(s) >=0.1a0 <1.45.2 || >=1.0.0rc1 <1.45.2Fix Suggestion:
Update to version 1.45.2Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Inefficient Regular Expression Complexity