MEDIUMCVSS v3.1 5.3Vulnerability

CVE-2026-126360

## Summary `TraceContextTextMapPropagator.extract()` in `opentelemetry-api` is vulnerable to regular expression denial of service (ReDoS) when processing a specially crafted `traceparent` value. A malformed value containing a trace-context prefix followed by a long whitespace sequence and an embedded newline triggers quadratic-time regex backtracking. Applications that extract trace context from untrusted carriers accepting such strings can experience excessive CPU consumption and request-processing delays. When extraction runs on an asynchronous server’s event-loop thread, a single malicious message can delay unrelated requests handled by that event loop. ## Exposure conditions Exploitation requires attacker-controlled input to reach the affected propagator through a carrier that preserves embedded newlines and permits a sufficiently large value. Conforming HTTP header values cannot contain embedded newlines. However, OpenTelemetry carriers are not restricted to HTTP headers. JSON strings can contain escaped newlines that become newline characters after decoding. MCP request metadata is one relevant integration path: applications may extract trace context from JSON `params._meta`. Exposure depends on the MCP SDK or instrumentation version, whether extraction invokes the W3C Trace Context propagator, and applicable message-size limits. HTTP header validation does not constrain a `traceparent` string carried inside a JSON body. Authentication requirements depend on the application exposing the carrier. ## Impact The demonstrated impact is denial of service through excessive CPU consumption and blocked request processing. Repeated malicious messages may sustain service degradation. This finding does not demonstrate data disclosure, data modification, or code execution. ## Remediation Upgrade `opentelemetry-api` to `1.45.2` or a later release containing the fix. Version `1.45.2` rejects `traceparent` values longer than 512 characters before regex matching

Properties

Severity
medium
Summary
OpenTelemetry Python API: Denial of service through quadratic-time traceparent parsing
Nvd fetched at
2026-11-14T00:40:25.638091+00:00
Epss score
0.00519
Cvss severity
MEDIUM
Cvss score
5.3
Retrieved at
2026-11-14T00:51:03+00:00
Ghsa published
2026-11-13T16:43:18Z
Source url
https://github.com/advisories/GHSA-mf5v-w3w3-f6cg
Ghsa updated
2026-11-13T16:43:19Z
Ghsa id
GHSA-mf5v-w3w3-f6cg
Last source
FIRST EPSS
Score
5.3
Cvss version
3.1
Cve id
CVE-2026-126360
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
First seen by Signal
2026-11-13T04:09:07+00:00
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published at
2026-11-13T00:20:11.410

Related Entities (3)

AFFECTS (1)

HAS_WEAKNESS (1)

VULNERABLE_TO (1)

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-126360 (CVSS v3.1 5.3) — Ninja Signal Threat Intelligence | Ninja Signal