CVE-2025-5151

MEDIUM

defog introspect < 0.1.4 - Code Injection in execute_analysis_code_safely

Title source: llm
STIX 2.1

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."

References (7)

Core 7
Core References
Third Party Advisory, VDB Entry vdb-entry technical-description
https://vuldb.com/?id.310239
Permissions Required, VDB Entry signature permissions-required
https://vuldb.com/?ctiid.310239
Third Party Advisory, VDB Entry third-party-advisory
https://vuldb.com/?submit.574809
Exploit, Issue Tracking, Patch issue-tracking
https://github.com/defog-ai/introspect/issues/495
Exploit, Issue Tracking, Patch exploit issue-tracking
https://github.com/defog-ai/introspect/issues/495#issue-3036141048
Broken Link issue-tracking patch
https://github.com/defog-ai/introspect/pull/502

Scores

CVSS v3 5.3
EPSS 0.0026
EPSS Percentile 16.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-74 CWE-94
Status published
Products (1)
defog/introspect 0.1.0 - 0.1.4
Published May 25, 2025
Tracked Since Feb 18, 2026