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
Link | Resource |
---|---|
https://github.com/defog-ai/introspect/issues/495 | Exploit Issue Tracking Patch |
https://github.com/defog-ai/introspect/issues/495#issue-3036141048 | Exploit Issue Tracking Patch |
https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278 | Exploit Issue Tracking Patch |
https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278 | Exploit Issue Tracking Patch |
https://github.com/defog-ai/introspect/pull/502 | Broken Link |
https://vuldb.com/?ctiid.310239 | Permissions Required VDB Entry |
https://vuldb.com/?id.310239 | Third Party Advisory VDB Entry |
https://vuldb.com/?submit.574809 | Third Party Advisory VDB Entry |
Configurations
History
03 Jun 2025, 12:58
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
CPE | cpe:2.3:a:defog:introspect:*:*:*:*:*:*:*:* | |
CWE | CWE-94 | |
References | () https://github.com/defog-ai/introspect/issues/495 - Exploit, Issue Tracking, Patch | |
References | () https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278 - Exploit, Issue Tracking, Patch | |
References | () https://vuldb.com/?ctiid.310239 - Permissions Required, VDB Entry | |
References | () https://vuldb.com/?submit.574809 - Third Party Advisory, VDB Entry | |
References | () https://vuldb.com/?id.310239 - Third Party Advisory, VDB Entry | |
References | () https://github.com/defog-ai/introspect/pull/502 - Broken Link | |
References | () https://github.com/defog-ai/introspect/issues/495#issue-3036141048 - Exploit, Issue Tracking, Patch | |
First Time |
Defog introspect
Defog |
28 May 2025, 18:15
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : unknown |
CWE | CWE-74 |
25 May 2025, 17:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-05-25 17:15
Updated : 2025-06-03 12:58
NVD link : CVE-2025-5151
Mitre link : CVE-2025-5151
JSON object : View
Products Affected
defog
- introspect
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')