Vulnerability · Published Oct 26, 2026 · Assigned by GitHub_M
CVE-2026-116588Datadog dd-trace-py: ReDOS in URL query string obfuscation
High 8.7
In plain English
A high-severity regular-expression denial of service in dd-trace-py from DataDog. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | ddtrace | 3.19.9 | GHSA-3633-r77q-h3v3 |
| PyPI | ddtrace | 4.15.6 | GHSA-3633-r77q-h3v3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| DataDog | dd-trace-py | >= 1.5.0, < 3.19.9>= 4.0.0, < 4.15.6 |
Weakness: CWE-1333 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-3633-r77q-h3v3 x_refsource_CONFIRM
- https://github.com/DataDog/dd-trace-py/pull/20857 x_refsource_MISC
- https://github.com/DataDog/dd-trace-py/pull/20862 x_refsource_MISC
- https://github.com/DataDog/dd-trace-py/pull/20880 x_refsource_MISC
- https://github.com/DataDog/dd-trace-py/commit/63ddc3cb07d8813ded7a8b3ab5b8d0f5470e4bfd x_refsource_MISC
- https://github.com/DataDog/dd-trace-py/commit/83ea39845dd95bfb9b8e247c62b3d22fc5dce1ce x_refsource_MISC
- https://github.com/DataDog/dd-trace-py/commit/a6d73607ea45ecd67152630f64b0945556972ed8 x_refsource_MISC
- https://github.com/DataDog/dd-trace-py/releases/tag/v3.19.9 x_refsource_MISC
- https://github.com/DataDog/dd-trace-py/releases/tag/v4.15.6 x_refsource_MISC