GHSA-p3m5-h5v9-vqj6

Suggest an improvement
Source
https://github.com/advisories/GHSA-p3m5-h5v9-vqj6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-p3m5-h5v9-vqj6/GHSA-p3m5-h5v9-vqj6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p3m5-h5v9-vqj6
Aliases
Published
2026-10-27T15:37:24Z
Modified
2026-10-27T15:47:24Z
Severity
  • 8.2 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Datadog dd-trace-py: IAST instrumentation can lead to application DOS
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-248"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-27T15:37:24Z",
    "nvd_published_at":  "2026-10-26T22:16:55Z",
    "severity":  "HIGH"
}
References

Affected packages

PyPI / ddtrace

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.13.0
Fixed
4.15.5

Affected versions

3.*
3.13.0
3.13.1
3.13.2
3.13.3
3.13.4
3.14.0rc1
3.14.0rc2
3.14.0
3.14.1
3.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rc7
4.11.0
4.11.1
4.11.2
4.11.3
4.11.4
4.11.5
4.11.6
4.11.7
4.11.8
4.12.0rc1
4.12.0rc2
4.12.0
4.12.1
4.12.2
4.12.3
4.13.0rc1
4.13.0rc2
4.13.0rc3
4.13.0
4.13.1
4.13.2
4.13.3
4.14.0rc1
4.14.0rc2
4.14.0rc3
4.14.0rc4
4.14.0
4.14.1
4.14.2
4.15.0rc1
4.15.0rc2
4.15.0
4.15.1
4.15.2
4.15.3
4.15.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-p3m5-h5v9-vqj6/GHSA-p3m5-h5v9-vqj6.json"