[ CVE-2026-116588 · Published 26 Oct 2026 ]
Datadog dd-trace-py: ReDoS in URL query string obfuscation
CVSS 8.7
EPSS <1%Fix available
[ Description ]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.
[ Fixes ]Fixes and patches
- ddtrace 3.19.9Fixed version · GitHub Advisories · pip package ddtrace: upgrade to 3.19.9 or later (affected >= 1.5.0, < 3.19.9)
- ddtrace 4.15.6Fixed version · GitHub Advisories · pip package ddtrace: upgrade to 4.15.6 or later (affected >= 4.0.0, < 4.15.6)
[ Packages ]Affected open-source packages
- ddtrace pipAffected >= 1.5.0, < 3.19.9 · fixed in 3.19.9 · GHSA-3633-r77q-h3v3
- ddtrace pipAffected >= 4.0.0, < 4.15.6 · fixed in 4.15.6 · GHSA-3633-r77q-h3v3
[ References ]References
- github.com/DataDog/dd-trace-py/commit/63ddc3cb07d8813ded7a8b3ab5b8d0f5470e4bfd
- github.com/DataDog/dd-trace-py/commit/83ea39845dd95bfb9b8e247c62b3d22fc5dce1ce
- github.com/DataDog/dd-trace-py/commit/a6d73607ea45ecd67152630f64b0945556972ed8
- github.com/DataDog/dd-trace-py/pull/20857
- github.com/DataDog/dd-trace-py/pull/20862
- github.com/DataDog/dd-trace-py/pull/20880
- github.com/DataDog/dd-trace-py/releases/tag/v3.19.9
- github.com/DataDog/dd-trace-py/releases/tag/v4.15.6
- github.com/DataDog/dd-trace-py/security/advisories/GHSA-3633-r77q-h3v3