CVE-2026-126360: OpenTelemetry Python API · Denial of service through quadratic-time traceparent parsing
Affects specifySource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.3.0 when convenient.
Data as of 4 Dec 2026, 18:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.3 |
|---|
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.3.0, 1.45.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade specify to 1.3.0; opentelemetry-api to 1.45.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewspecifypkg:brew/specifyOther threats | Affected
| Fixed in
|
PyPIopentelemetry-apipkg:pypi/opentelemetry-apiOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade OpenTelemetry API to version 1.3.0 or later, which includes a fix that rejects traceparent values longer than 512 characters and removes overlapping suffix and trailing-whitespace expressions from the regex. If upgrading is not immediately possible, implement input validation to reject oversized traceparent values and embedded carriage return/line feed characters before passing untrusted trace-context values to the propagator.
Description
A regular expression denial of service (ReDoS) vulnerability exists in the OpenTelemetry Python API's TraceContextTextMapPropagator.extract() method when parsing specially crafted traceparent values. This can cause excessive CPU consumption and delay request processing, particularly affecting asynchronous event-loop servers. The vulnerability arises from quadratic-time regex backtracking triggered by malformed traceparent strings containing long whitespace sequences and embedded newlines. The issue is remediated in version 1.3.0 and later by rejecting overly long traceparent values and simplifying the regex. No data disclosure or code execution is involved.
References
- github.com/open-telemetry/opentelemetry-python/security/advisories/GHSA-mf5v-w3w3-f6cg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-126360 (opens in a new tab)
- github.com/open-telemetry/opentelemetry-python/pull/5818 (opens in a new tab)
- github.com/open-telemetry/opentelemetry-python/pull/5856 (opens in a new tab)
- github.com/open-telemetry/opentelemetry-python/commit/78123a2755c907c602e02352aebed4be86aa5350 (opens in a new tab)
- github.com/open-telemetry/opentelemetry-python/commit/faa72dae511ae64a7bf8ca63eff9ad4387d0b939 (opens in a new tab)
- github.com/open-telemetry/opentelemetry-python (opens in a new tab)
- github.com/open-telemetry/opentelemetry-python/releases/tag/v1.45.2 (opens in a new tab)