GitHub Advisoryadvisory · PyPI
GHSA-p3m5-h5v9-vqj6 Datadog dd-trace-py: IAST instrumentation can lead to application DOS
HIGH
Official page ↗
- Aliases
- CVE-2026-116589
- Ecosystem
- PyPI
- Packages
- ddtrace
- Severity
- High
- 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
- Weaknesses
- CWE-248
- Reviewed
- 2026-10-27
Affected packages
• PyPI ddtrace: >= 3.13.0, < 4.15.5 → fixed in 4.15.5
Description
Summary
A flaw in dd-trace-py’s 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.
If you are unable to upgrade to a patched version of dd-trace-py, you can mitigate this issue by either disabling IAST (setting DD_IAST_ENABLED=false) or by replacing replace % string interpolations with str.format or f-strings for user inputs in your monitored application.
Proof of concept
Detailed triggering inputs and reproduction steps are omitted from this advisory. The linked fix (#20786) includes regression coverage for the affected behavior.
Impact
Denial of service affecting applications that use a vulnerable version of dd-trace-py with IAST enabled and expose the affected operation to attacker-controlled input. Successful exploitation terminates the affected Python process and interrupts the work it is handling.
Related
Alias · CVE (1)
- CVE-2026-116589 Datadog dd-trace-py is the Datadog Python APM client. vulnerability
Weakness · CWE (1)
- CWE-248 Uncaught Exception weakness
References
- https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-p3m5-h5v9-vqj6 web
- https://nvd.nist.gov/vuln/detail/CVE-2026-116589 advisory
- https://github.com/DataDog/dd-trace-py/pull/20786 web
- https://github.com/DataDog/dd-trace-py/pull/20823 web
- https://github.com/DataDog/dd-trace-py/commit/69dc19853247434ceab83e0c1c4e279a2eb2a3f7 web
- https://github.com/DataDog/dd-trace-py/commit/ace972489b57dd020ff52b706bb548a354f2dd69 web
- https://github.com/DataDog/dd-trace-py package
- https://github.com/DataDog/dd-trace-py/releases/tag/v4.15.5 web