Datadog dd-trace-py IAST flaw lets attackers crash Python processes
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- 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-248.
Summary
Datadog dd-trace-py from 3.13.0 before 4.15.5 is affected, including the ddtrace package on PyPI. The IAST string-processing instrumentation does not handle certain internal errors during old-style % string formatting, which is an uncaught exception (CWE-248). A remote, unauthenticated attacker can terminate the Python process when IAST is enabled and the application applies that formatting to attacker-controlled input. IAST is not enabled by default.
Written with Claude Haiku 5.5 from the sources below · 2026-10-31
Description from the CNA
Datadog dd-trace-py is the Datadog Python APM client. From 3.13.0 until 4.15.5, the IAST string-processing instrumentation does not properly handle certain internal errors while old-style % string formatting processes attacker-controlled input. An unhandled error can terminate the Python process and interrupt the work it is handling. Exploitation requires IAST to be enabled, which is not the default, and application code to apply the affected formatting operation to attacker-controlled input. This issue is fixed in version 4.15.5.
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 | 3.13.0 to before 4.15.5 | 4.15.5 | Patch available | CNA |
| — | ddtrace (PyPI) | 3.13.0 to before 4.15.5 | 4.15.5 | Patch available | GHSA-p3m5-h5v9-vqj6 |
- dd-trace-py VendorDataDog Affected 3.13.0 to before 4.15.5 Fixed in 4.15.5 Patch available CNA
- ddtrace (PyPI) Vendor— Affected 3.13.0 to before 4.15.5 Fixed in 4.15.5 Patch available GHSA-p3m5-h5v9-vqj6
Remediation
The fixed version is 4.15.5 for dd-trace-py and the ddtrace package on PyPI. Upgrade to version 4.15.5 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-10-31
- Fix · CNA dd-trace-py (DataDog) Fixed in 4.15.5
- Fix · GHSA-p3m5-h5v9-vqj6 ddtrace (PyPI) Fixed in 4.15.5 Advisory →
Vendor assessments
Timeline
- 2026-10-26 Threatist record created from CVE-2026-116589
- 2026-10-27 Affected versions changed · Red Hat
- 2026-10-27 CVSS score added · Red Hat
- 2026-10-27 Alias added: GHSA-p3m5-h5v9-vqj6
- 2026-10-27 Priority changed: MEDIUM → LOW
- 2026-10-31 CISA SSVC decision points changed
- 2026-10-31 Priority changed: LOW → MEDIUM
References
Other 7
- https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-p3m5-h5v9-vqj6
- https://github.com/DataDog/dd-trace-py/pull/20786
- https://github.com/DataDog/dd-trace-py/pull/20823
- https://github.com/DataDog/dd-trace-py/commit/69dc19853247434ceab83e0c1c4e279a2eb2a3f7
- https://github.com/DataDog/dd-trace-py/commit/ace972489b57dd020ff52b706bb548a354f2dd69
- https://github.com/DataDog/dd-trace-py/releases/tag/v4.15.5
- 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-2026-80927 ReDoS in Datadog dd-trace-py 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
Sources
- CVE-2026-116589 · CVE Program
- CVE-2026-116589 · NVD
- FIRST EPSS
- GHSA-p3m5-h5v9-vqj6 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-116589 · 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