High

Datadog dd-trace-py: Application Denial of Service in IAST Instrumentation

  • Disclosed: 27.10.2026
  • Updated: 01.11.2026 10:00

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 with str.format or f-strings for user inputs in your monitored application.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) ddtrace >= 3.13.0, < 4.15.5 4.15.5

References

CVSS score -
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

  1. 2026: 3
  1. High CVE-2026-116588 >= 1.5.0, < 3.19.9, >= 4.0.0, < 4.15.6 3.19.9, 4.15.6
  2. Datadog dd-trace-py: Application Denial of Service in IAST Instrumentation this entry
    High CVE-2026-116589 >= 3.13.0, < 4.15.5 4.15.5

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.