Datadog Python tracing library can be slowed to a crawl by crafted URLs
A specially crafted web address can make a Python app using Datadog tracing use huge amounts of CPU, slowing responses or making the service unavailable. Anyone who can send requests to the app can trigger it.
| Severity | HighCVSS 8.7 of 10 |
|---|---|
| Being exploited? | UnclearNo reports either way yet |
| Fix available? | Yesddtrace 3.19.9 and ddtrace 4.15.6 · since 27 Oct 2026 |
| How sure is this? | Official, 2 sourcesBacked by an official source |
How the attack works simplified
- 1AttackerSends a request with a crafted query string
- 2Python appRecords the URL for tracing
- 3Regex backtrackingObfuscation pattern burns CPU synchronously
- 4Service slowsRequests stall and become unavailable
- ResultService degrades or becomes unavailable
What happened
The default regular expression that obfuscates URL query strings in dd-trace-py suffers from excessive backtracking (ReDoS) and runs synchronously on attacker-controlled input during HTTP span recording.
Are you affected?
You are affected if you run the Python dd-trace-py (ddtrace) library at version 1.5.0 up to 3.19.9, or 4.0.0 up to 4.15.6, with an HTTP tracing integration that records query strings in URL span tags.
| Package / product | Affected versions | Fixed in |
|---|---|---|
| ddtrace · pip | >= 1.5.0, < 3.19.9 | 3.19.9 |
| ddtrace · pip | >= 4.0.0, < 4.15.6 | 4.15.6 |
What to do
- Upgrade ddtrace to 3.19.9 (if on the 3.x line) or 4.15.6 (if on the 4.x line)
- If you cannot upgrade yet, set both DD_TRACE_OBFUSCATION_QUERY_STRING_REGEXP and DD_TRACE_OBFUSCATION_QUERY_STRING_PATTERN to the fixed regex from the advisory, then restart the application
- Restart the application after upgrading or changing the environment variables
Timeline
- 26 Oct 2026, 22:16 UTCPublicly disclosed
- 26 Oct 2026, 22:16 UTCReported by NVD · NVD
- 26 Oct 2026, 22:19 UTCPicked up by Zero Radar
- 27 Oct 2026, 15:37 UTCGitHub Advisory reported on it · GitHub Advisory
- 27 Oct 2026, 15:37 UTCFixed version published: ddtrace 3.19.9, ddtrace 4.15.6 · GitHub Advisory
Sources 2 reports, oldest first
Official vendor, government CERT or advisory database
- CVE-2026-116588NVD · 26 Oct 2026, 22:16 UTC
- Datadog dd-trace-py: ReDoS in URL query string obfuscationGitHub Advisory · 27 Oct 2026, 15:37 UTC
Technical details
- ID
- CVE-2026-116588 · GHSA-3633-r77q-h3v3
- CVSS
- 8.7 / 10
- EPSS
- 0.5% chance of exploitation within 30 days
- Disclosed
- 26 Oct 2026, 22:16 UTC
- On Zero Radar
- 26 Oct 2026, 22:19 UTC (3 min after disclosure)
- Last change
- 27 Oct 2026, 15:37 UTC
The plain-language parts and the attack diagram were written by an AI model (anthropic/claude-haiku-5.5) from the sources above. Facts like versions, exploitation and dates come from the sources themselves. How Zero Radar works