Skip to main content
VulnerabilityPublished Updated

CVE-2026-126360: OpenTelemetry Python API · Denial of service through quadratic-time traceparent parsing

Affects semgrepSource GCVE Database

0
Compare
Authoritative record:CVE-2026-126360· Medium 5.3

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewsemgreppkg:brew/semgrepOther threatsAffected
  • >=1.82.0 <1.188.0
Fixed in
  • 1.188.0
PyPIopentelemetry-apipkg:pypi/opentelemetry-apiOther threatsAffected
  • <1.45.2
Fixed in
  • 1.45.2

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

Community reviews

Loading reviews…