CVE-2025-5151

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

Configuration 1 (hide)

cpe:2.3:a:defog:introspect:*:*:*:*:*:*:*:*

History

03 Jun 2025, 12:58

Type Values Removed Values Added
CPE cpe:2.3:a:defog:introspect:*:*:*:*:*:*:*:*
First Time Defog
Defog introspect
References () https://github.com/defog-ai/introspect/issues/495 - () https://github.com/defog-ai/introspect/issues/495 - Exploit, Issue Tracking, Patch
References () https://github.com/defog-ai/introspect/issues/495#issue-3036141048 - () https://github.com/defog-ai/introspect/issues/495#issue-3036141048 - Exploit, Issue Tracking, Patch
References () https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278 - () https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278 - Exploit, Issue Tracking, Patch
References () https://github.com/defog-ai/introspect/pull/502 - () https://github.com/defog-ai/introspect/pull/502 - Broken Link
References () https://vuldb.com/?ctiid.310239 - () https://vuldb.com/?ctiid.310239 - Permissions Required, VDB Entry
References () https://vuldb.com/?id.310239 - () https://vuldb.com/?id.310239 - Third Party Advisory, VDB Entry
References () https://vuldb.com/?submit.574809 - () https://vuldb.com/?submit.574809 - Third Party Advisory, VDB Entry

28 May 2025, 18:15

Type Values Removed Values Added
References () https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278 - () https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278 -

28 May 2025, 14:58

Type Values Removed Values Added
Summary
  • (es) Se ha detectado una vulnerabilidad crítica en defog-ai introspect (hasta la versión 0.1.4). Esta vulnerabilidad afecta a la función "execute_analysis_code_safely" del archivo introspect/backend/tools/analysis_tools.py. La manipulación del código del argumento provoca la inyección de código. Es posible lanzar el ataque contra el host local. El exploit se ha hecho público y puede utilizarse. El parche se denomina 502. Se recomienda aplicar un parche para solucionar este problema. El responsable del código explica que "han añadido algunas soluciones alternativas para solucionar este problema en #502, pero no implementarán una solución completa. Esto se debe a que este repositorio está diseñado para ejecutarse en un entorno Docker, lo que mitigará significativamente los posibles riesgos de seguridad. Dicho esto, hemos añadido una sección de SEGURIDAD en nuestro archivo README para que los usuarios lo tengan más claro".

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

CVE.ORG link : CVE-2025-5151


JSON object : View

Products Affected

defog

  • introspect
CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

CWE-94

Improper Control of Generation of Code ('Code Injection')