CVE-2025-5151
Defog-ai Introspect Code Injection Vulnerability
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."
INFO
Published Date :
May 25, 2025, 5:15 p.m.
Last Modified :
June 3, 2025, 12:58 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-5151
.
URL | 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/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 |
https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278 | Exploit Issue Tracking Patch |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-5151
vulnerability anywhere in the article.
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.
-
Initial Analysis by [email protected]
Jun. 03, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-94 Added CPE Configuration OR *cpe:2.3:a:defog:introspect:*:*:*:*:*:*:*:* versions from (including) 0.1.0 up to (including) 0.1.4 Added Reference Type VulDB: https://github.com/defog-ai/introspect/issues/495 Types: Exploit, Issue Tracking, Patch Added Reference Type VulDB: https://github.com/defog-ai/introspect/issues/495#issue-3036141048 Types: Exploit, Issue Tracking, Patch Added Reference Type CISA-ADP: https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278 Types: Exploit, Issue Tracking, Patch Added Reference Type VulDB: https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278 Types: Exploit, Issue Tracking, Patch Added Reference Type VulDB: https://github.com/defog-ai/introspect/pull/502 Types: Broken Link Added Reference Type VulDB: https://vuldb.com/?ctiid.310239 Types: Permissions Required, VDB Entry Added Reference Type VulDB: https://vuldb.com/?id.310239 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/?submit.574809 Types: Third Party Advisory, VDB Entry -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
May. 28, 2025
Action Type Old Value New Value Added Reference https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278 -
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
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-5151
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-5151
weaknesses.