CVE-2025-5151 – Defog-ai Introspect Code Injection Vulnerability

The following table lists the changes that have been made to the
CVE-2025-5151 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution
of a vulnerability, and for identifying the most recent changes that may
impact the vulnerability’s severity, exploitability, or other characteristics.

  • New CVE Received
    by [email protected]

    May. 25, 2025

    Action Type Old Value New Value
    Added Description A vulnerability classified as critical has been found in defog-ai introspect up to 0.1.4. This affects the function execute_analysis_code_safely of the file introspect/backend/tools/analysis_tools.py. The manipulation of the argument code leads to code injection. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. The patch is named 502. It is recommended to apply a patch to fix this issue. The code maintainer explains, that “[they] have added some workarounds to address this in #502, but will not be implementing a full fix. This is because this repo is meant to be run in a docker environment, which will significantly mitigate potential security risks. Having said that, we have added a SECURITY section in our README to make this clearer to users.”
    Added CVSS V4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
    Added CVSS V2 (AV:L/AC:L/Au:S/C:P/I:P/A:P)
    Added CWE CWE-94
    Added CWE CWE-74
    Added Reference https://github.com/defog-ai/introspect/issues/495
    Added Reference https://github.com/defog-ai/introspect/issues/495#issue-3036141048
    Added Reference https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278
    Added Reference https://github.com/defog-ai/introspect/pull/502
    Added Reference https://vuldb.com/?ctiid.310239
    Added Reference https://vuldb.com/?id.310239
    Added Reference https://vuldb.com/?submit.574809
Share the Post:

Related Posts