GHSA-p3m5-h5v9-vqj6

    Dashboard / Vulnerabilities / GHSA-p3m5-h5v9-vqj6

    GHSA-p3m5-h5v9-vqj6

    Published: 27 Oct 2026Last Modified: 27 Oct 2026

    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.

    Affected packages

    Package

    Name: ddtrace

    Purl: pkg:pypi/ddtrace

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 3.13.0
    Fixed -4.15.5

    Affected versions

    3.13.0
    3.13.1
    3.13.2
    3.13.3
    3.13.4

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-p3m5-h5v9-vqj6 | CVE-DB