Datadog dd-trace-py: Application Denial of Service in IAST Instrumentation
A flaw in Datadog dd-trace-py's Interactive Application Security Testing (IAST) instrumentation can cause the Python application process to terminate unexpectedly when processing certain attacker-controlled input. Only applications with IAST enabled are affected. IAST is disabled by default.
Details
The affected IAST string-processing instrumentation does not properly handle certain internal errors, allowing an error to terminate the application process. Exploitation requires IAST to be enabled and application code to perform an affected string-processing operation on attacker-controlled input.
Detailed triggering inputs and reproduction steps are omitted from this advisory. The linked fix (#20786) includes regression coverage for the affected behavior.
Impact
Successful exploitation results in a denial of service (DoS), terminating the affected Python process and interrupting in-progress operations.
What to do
Upgrade ddtrace to version 4.15.5 or later.
If you are unable to upgrade to a patched version immediately, you can mitigate this issue by:
- Disabling IAST by setting
DD_IAST_ENABLED=false. - Replacing
%string interpolations withstr.formator f-strings for user inputs in your monitored application.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | ddtrace | >= 3.13.0, < 4.15.5 | 4.15.5 |
References
- https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-p3m5-h5v9-vqj6
- https://nvd.nist.gov/vuln/detail/CVE-2026-116589
- 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
- https://github.com/DataDog/dd-trace-py/releases/tag/v4.15.5
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N- Weakness (CWE)
CWE-248- Platform
- Python (PyPI)
- Package
ddtrace- Disclosed
- 27.10.2026
- Updated
- 01.11.2026 10:00
Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.
OSV / GitHub Advisory Database - GHSA-p3m5-h5v9-vqj6 - CC BY 4.0
Vulnerability history: ddtrace
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 07.2026 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 3
Disclosures per year
- 2026: 3
-
Datadog dd-trace-py: Application Denial of Service in IAST Instrumentation this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.