CVE-2026-126360: OpenTelemetry Python API · Denial of service through quadratic-time traceparent parsing
Affects semgrepSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.188.0 when convenient.
Data as of 4 Dec 2026, 20:30 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 1.188.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 semgrep to 1.188.0; opentelemetry-api to 1.45.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewsemgreppkg:brew/semgrepOther 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.188.0 or later, which includes the fix rejecting traceparent values longer than 512 characters and removes problematic regex patterns. If upgrading is not immediately possible, implement input validation to reject oversized traceparent values and any containing embedded carriage return or line feed characters before passing them to the propagator.
Description
OpenTelemetry Python API's TraceContextTextMapPropagator.extract() is vulnerable to a regular expression denial of service (ReDoS) when processing specially crafted traceparent values containing long whitespace sequences and embedded newlines. This can cause excessive CPU consumption and delay request processing, especially on asynchronous event-loop servers. The vulnerability affects versions from 1.82.0 up to but not including 1.188.0. The issue is fixed in version 1.188.0 by rejecting overly long traceparent values and removing problematic regex patterns.
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)