Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach JSON carrier extracting trace context
-
DeliveryCraft traceparent with prefix, long whitespace, embedded newline
-
ExploitTrigger quadratic regex backtracking in extract()
-
ExecutionExhaust event-loop CPU
-
ImpactDelay/deny unrelated requests
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an attacker-controlled carrier that both preserves embedded newline (CR/LF) characters and permits a sufficiently large value to reach TraceContextTextMapPropagator.extract(); the payload is a traceparent containing a trace-context prefix, a long whitespace sequence, and an embedded newline. The critical LIMITING factor is that conforming HTTP header values cannot contain embedded newlines, so standard HTTP-header trace propagation is NOT exploitable - the practical path is JSON-based carriers (the advisory names MCP request metadata extracted from JSON params._meta), where escaped newlines decode to real newlines. Further limits: exposure depends on the MCP SDK/instrumentation version, whether extraction actually invokes the W3C Trace Context propagator, and applicable message-size limits; impact is amplified specifically when extraction runs on an asynchronous server's event-loop thread. Affected versions are opentelemetry-api <= 1.45.1. |
| Impact | This is a genuine but modest-priority issue, not a critical one. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, base 5.3 Medium) encodes a network-reachable, no-privilege, no-interaction flaw whose only impact is partial availability loss - consistent with the advisory, which demonstrates denial of service via CPU exhaustion and explicitly disclaims any disclosure, modification, or code execution. The vuln.today Decision label is 'this_month' (not act_now/emergency), which aligns with a non-weaponized DoS. No EPSS score, no CISA KEV listing, and no SSVC decision data were provided in the input, so exploitation-probability and automatability signals are unavailable rather than conflicting. There is no public exploit referenced - only fix PRs and commits - so this is a theoretical/known-mechanism ReDoS without confirmed in-the-wild use. The one notable tension is the AC:L rating: the advisory makes clear exploitation is NOT trivial against typical deployments, since conforming HTTP headers cannot carry the embedded newline the payload requires; a real attack path needs a newline-preserving JSON carrier (e.g., MCP params._meta), which narrows real-world exposure well below what AV:N/AC:L alone implies. Treat as a patch-this-cycle availability bug, prioritized higher only for services that extract trace context from untrusted JSON carriers on an async event loop. |
| Exploit ScenarioDerived | An attacker who can submit JSON to a service that extracts W3C trace context from an untrusted carrier (for example MCP request metadata in params._meta) sends a traceparent value with a trace-context prefix, a long whitespace run, and an embedded newline. The malformed value forces quadratic-time regex backtracking in TraceContextTextMapPropagator.extract(), and because parsing runs on the asynchronous server's event-loop thread, a single crafted message consumes excessive CPU and stalls unrelated requests; repeating it sustains degradation. No public exploit is identified at time of analysis, though fix PRs/commits describe the trigger precisely. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Regular-expression denial of service in the opentelemetry-api package (versions up to and including 1.45.1) lets an attacker who can control a propagated traceparent value force quadratic-time regex backtracking inside TraceContextTextMapPropagator.extract(), burning CPU on the thread that performs extraction. The practical attack path is narrow: conforming HTTP header values cannot contain embedded newlines, so standard HTTP-header propagation is not exploitable - the described vector is a JSON-based carrier (the advisory names MCP request metadata decoded from JSON params._meta) that preserves an embedded newline and allows a large value, with the worst effect when extraction runs on an asynchronous server's event-loop thread and stalls unrelated requests. Impact is limited to availability (CPU consumption and request-processing delays); the advisory does not establish disclosure, modification, or code execution, and no public exploit code or CISA KEV entry is associated with this issue. A vendor fix is released in 1.45.2.
RemediationAI
Upgrade opentelemetry-api to 1.45.2 or later - the vendor-released patch, published as the v1.45.2 release (https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.45.2) and implemented in pull requests 5818 (https://github.com/open-telemetry/opentelemetry-python/pull/5818) and 5856 plus commits 78123a2755c907c602e02352aebed4be86aa5350 and faa72dae511ae64a7bf8ca63eff9ad4387d0b939; 1.45.2 rejects traceparent values longer than 512 characters before regex matching and removes the overlapping suffix and trailing-whitespace expressions. Where upgrading is temporarily unavailable, the advisory's recommended workaround is to reject oversized values and embedded CR/LF characters before untrusted trace-context values reach the affected propagator - placing a length/character filter in front of extract() for JSON-derived carriers such as MCP params._meta. The trade-off is that a strict filter will also discard non-conforming or experimental future-version traceparent strings, breaking trace continuity for those senders, but legitimate version-00 traceparent values are 55 characters and contain no newlines, so normal tracing is unaffected; conversely, simply relying on HTTP header validation is not a mitigation for JSON carriers, because header rules do not constrain a traceparent embedded in a request body. The vendor's position is that updating is the complete fix; until then, limiting message size on JSON endpoints that feed trace extraction also reduces the worst-case backtracking cost.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-1333 (inefficient regular expression complexity) in opentelemetry-api's W3C Trace Context propagator. The pre-fix pattern was "^[ \t]*([0-9a-f]{2})-([0-9a-f]{32})-([0-9a-f]{16})-([0-9a-f]{2})(-.*)?[ \t]*$": the optional greedy suffix group and the trailing whitespace class overlap, so a value made of a valid trace-context prefix, a long run of spaces/tabs, and an embedded newline forces the engine to retry the suffix and trailing-whitespace alternatives in many combinations before failing, producing quadratic-time backtracking. The upstream fix in PR 5818 does two things: it short-circuits extraction when the header exceeds _TRACEPARENT_MAXIMUM_LENGTH = 512 characters (logging a warning and returning the unchanged context), and it rewrites the suffix group as the mutually exclusive "(?:(-.*)|[ \t]*)$" so the alternatives no longer overlap. The 512-character cap is far above any legitimate W3C traceparent (a version-00 traceparent is 55 characters), so it does not affect conforming traffic. Exposure is gated by carrier semantics rather than by the regex alone: HTTP header validation forbids embedded CR/LF, whereas JSON strings carry escaped newlines that become real newline characters after decoding, and the advisory flags MCP request metadata (JSON params._meta) as a concrete integration path. Whether a given deployment is reachable depends on the MCP SDK or instrumentation version, on whether extraction actually invokes the W3C Trace Context propagator, and on message-size limits; extraction on an async event-loop thread amplifies the delay. A related advisory, GHSA-xcq7-p3pf-p88h, covers a similar issue in tracestate handling. Note that the supplied CVSS vector (AV:N/AC:L/PR:N/UI:N) differs from our assessed vector (AC:H), reflecting these carrier and deployment preconditions.
Know when Opentelemetry Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Network-reachable with no privileges, but a successful trigger needs an uncommon newline-preserving JSON carrier rather than normal HTTP headers (AC:H); impact is availability-only (A:L), no C/I.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 64,974 pypi packages depend on opentelemetry-api (2,379 direct, 62,951 indirect)
Ecosystem-wide dependent count for version 1.45.2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Opentelemetry Python
View allUnbounded baggage processing in the optional OpenTelemetry Python Jaeger propagator (opentelemetry-propagator-jaeger bef
Denial of service in OpenTelemetry Python (opentelemetry-api through 1.45.0) lets a single unauthenticated request carry
EUVD-2026-124741
GHSA-mf5v-w3w3-f6cg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB