CVE-2026-116588: Datadog dd-trace-py · ReDoS in URL query string obfuscation
Affects ddtraceSource GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 3.19.9 soon.
Data as of 27 Oct 2026, 16:28 UTC
- Patch
- Available – fixed in 3.19.9, 4.15.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Upgrade ddtrace to 3.19.9; ddtrace to 4.15.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIddtrace | Affected
| Fixed in
|
| PyPIddtrace | 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
A patch is available in ddtrace versions 3.19.9 and 4.15.6. Users should upgrade to these or later versions to remediate the vulnerability. As a workaround, setting the environment variables DD_TRACE_OBFUSCATION_QUERY_STRING_REGEXP and DD_TRACE_OBFUSCATION_QUERY_STRING_PATTERN to the fixed regex pattern provided by the vendor and restarting the application mitigates the issue across all affected versions, including those before 1.19.0.
Description
A regular expression denial of service (ReDoS) vulnerability exists in Datadog's dd-trace-py library affecting the URL query string obfuscation pattern used in HTTP tracing integrations. The vulnerable regex can cause excessive CPU consumption and stall request processing when handling certain attacker-controlled inputs, leading to denial of service. This issue affects ddtrace versions from 1.5.0 up to but not including 3.19.9, and from 4.0.0 up to but not including 4.15.6. A fix is available in versions 3.19.9 and 4.15.6. Workarounds involve setting environment variables to use a fixed regex pattern. The vulnerability is enabled by default in affected HTTP integrations that include query strings in URL span tags.
References
- github.com/DataDog/dd-trace-py/security/advisories/GHSA-3633-r77q-h3v3 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-116588 (opens in a new tab)
- github.com/DataDog/dd-trace-py/pull/20857 (opens in a new tab)
- github.com/DataDog/dd-trace-py/pull/20862 (opens in a new tab)
- github.com/DataDog/dd-trace-py/pull/20880 (opens in a new tab)
- github.com/DataDog/dd-trace-py/commit/63ddc3cb07d8813ded7a8b3ab5b8d0f5470e4bfd (opens in a new tab)
- github.com/DataDog/dd-trace-py/commit/83ea39845dd95bfb9b8e247c62b3d22fc5dce1ce (opens in a new tab)
- github.com/DataDog/dd-trace-py/commit/a6d73607ea45ecd67152630f64b0945556972ed8 (opens in a new tab)
- github.com/DataDog/dd-trace-py (opens in a new tab)
- github.com/DataDog/dd-trace-py/releases/tag/v3.19.9 (opens in a new tab)
- github.com/DataDog/dd-trace-py/releases/tag/v4.15.6 (opens in a new tab)