ReDoS in Datadog dd-trace-py URL query string obfuscation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
Datadog dd-trace-py, the Datadog Python APM client, is affected from 1.5.0 before 3.19.9 and from 4.0.0 before 4.15.6. The default regular expression that obfuscates URL query strings can backtrack excessively (CWE-1333). A remote attacker can send crafted query strings that cause prolonged CPU consumption and service unavailability in HTTP tracing integrations, which process query strings by default.
Written with Claude Haiku 5.5 from the sources below · 2026-11-02
Description from the CNA
Datadog dd-trace-py is the Datadog Python APM client. From 1.5.0 until 3.19.9 and 4.15.6, the default query-string obfuscation regular expression can exhibit excessive backtracking while synchronously processing attacker-controlled URL query strings for HTTP span metadata. A remote attacker can cause prolonged CPU consumption, request latency, and service unavailability in affected HTTP tracing integrations that include query strings in URL span tags. The vulnerable processing is enabled by default for those integrations. This issue is fixed in versions 3.19.9 and 4.15.6.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| DataDog | dd-trace-py | 1.5.0 to before 3.19.9; 4.0.0 to before 4.15.6 | 3.19.9, 4.15.6 | Patch available | CNA |
| — | ddtrace (PyPI) | 1.5.0 to before 3.19.9 | 3.19.9 | Patch available | GHSA-3633-r77q-h3v3 |
| — | ddtrace (PyPI) | 4.0.0 to before 4.15.6 | 4.15.6 | Patch available | GHSA-3633-r77q-h3v3 |
- dd-trace-py VendorDataDog Affected 1.5.0 to before 3.19.9; 4.0.0 to before 4.15.6 Fixed in 3.19.9, 4.15.6 Patch available CNA
- ddtrace (PyPI) Vendor— Affected 1.5.0 to before 3.19.9 Fixed in 3.19.9 Patch available GHSA-3633-r77q-h3v3
- ddtrace (PyPI) Vendor— Affected 4.0.0 to before 4.15.6 Fixed in 4.15.6 Patch available GHSA-3633-r77q-h3v3
Remediation
Upgrade the ddtrace PyPI package to version 3.19.9 for the 3.x branch and to version 4.15.6 for the 4.x branch. The sources list no fixed version for dd-trace-py.
Written with Claude Haiku 5.5 from the sources below · 2026-11-02
- Fix · CNA dd-trace-py (DataDog) Fixed in 3.19.9, 4.15.6
- Fix · GHSA-3633-r77q-h3v3 ddtrace (PyPI) Fixed in 3.19.9 Advisory →
- Fix · GHSA-3633-r77q-h3v3 ddtrace (PyPI) Fixed in 4.15.6 Advisory →
Vendor assessments
Timeline
- 2026-10-26 Threatist record created from CVE-2026-116588
- 2026-10-27 Affected versions changed · Red Hat
- 2026-10-27 CVSS score added · Red Hat
- 2026-10-27 Alias added: GHSA-3633-r77q-h3v3
- 2026-10-27 Priority changed: MEDIUM → LOW
- 2026-11-02 CISA SSVC decision points changed
- 2026-11-02 Priority changed: LOW → MEDIUM
References
Other 10
- https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-3633-r77q-h3v3
- https://github.com/DataDog/dd-trace-py/pull/20857
- https://github.com/DataDog/dd-trace-py/pull/20862
- https://github.com/DataDog/dd-trace-py/pull/20880
- https://github.com/DataDog/dd-trace-py/commit/63ddc3cb07d8813ded7a8b3ab5b8d0f5470e4bfd
- https://github.com/DataDog/dd-trace-py/commit/83ea39845dd95bfb9b8e247c62b3d22fc5dce1ce
- https://github.com/DataDog/dd-trace-py/commit/a6d73607ea45ecd67152630f64b0945556972ed8
- https://github.com/DataDog/dd-trace-py/releases/tag/v3.19.9
- https://github.com/DataDog/dd-trace-py/releases/tag/v4.15.6
- https://github.com/DataDog/dd-trace-py
More DataDog vulnerabilities
- TI-2026-32833 GuardDog: Blind GitHub URL rewrite in remote project scanning causes SSRF and `GH_TOKEN` exfiltration CVSS 3.1HIGH 8.2
- TI-2022-07587 GuardDog vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package CVSS 3.1MEDIUM 6.5
- TI-2026-26107 dd-trace-java: Unsafe deserialization in RMI instrumentation may lead to remote code execution CVSS 4.0CRITICAL 9.3
- TI-2026-81528 ReDoS in dd-trace URL query string obfuscation CVSS 4.0HIGH 8.7
- TI-2023-20052 import-in-the-middle allows unsanitized user controlled input in module generation CVSS 3.1CRITICAL 9.8
- TI-2026-80928 Datadog dd-trace-py IAST flaw lets attackers crash Python processes CVSS 4.0HIGH 8.2
Sources
- CVE-2026-116588 · CVE Program
- CVE-2026-116588 · NVD
- FIRST EPSS
- GHSA-3633-r77q-h3v3 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-116588 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences