We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-5151

defog-ai introspect analysis_tools.py execute_analysis_code_safely code injection



Description

EN DE

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

Es wurde eine Schwachstelle in defog-ai introspect bis 0.1.4 entdeckt. Sie wurde als kritisch eingestuft. Betroffen hiervon ist die Funktion execute_analysis_code_safely der Datei introspect/backend/tools/analysis_tools.py. Mittels Manipulieren des Arguments code mit unbekannten Daten kann eine code injection-Schwachstelle ausgenutzt werden. Der Angriff muss lokal erfolgen. Der Exploit steht zur öffentlichen Verfügung. Der Patch wird als 502 bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.

Reserved 2025-05-24 | Published 2025-05-25 | Updated 2025-05-28 | Assigner VulDB


MEDIUM: 4.8CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
MEDIUM: 5.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
MEDIUM: 5.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.3AV:L/AC:L/Au:S/C:P/I:P/A:P

Problem types

Code Injection

Injection

Product status

0.1.0
affected

0.1.1
affected

0.1.2
affected

0.1.3
affected

0.1.4
affected

Timeline

2025-05-24:Advisory disclosed
2025-05-24:VulDB entry created
2025-05-24:VulDB entry last update

Credits

ybdesire (VulDB User) reporter

References

vuldb.com/?id.310239 (VDB-310239 | defog-ai introspect analysis_tools.py execute_analysis_code_safely code injection) vdb-entry technical-description

vuldb.com/?ctiid.310239 (VDB-310239 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/?submit.574809 (Submit #574809 | defog-ai introspect v0.1.0 to v0.1.4 Code Injection) third-party-advisory

github.com/defog-ai/introspect/issues/495 issue-tracking

github.com/defog-ai/introspect/issues/495 issue-tracking

github.com/defog-ai/introspect/issues/495 exploit issue-tracking

github.com/defog-ai/introspect/pull/502 issue-tracking patch

cve.org (CVE-2025-5151)

nvd.nist.gov (CVE-2025-5151)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-5151

Support options

Helpdesk Chat, Email, Knowledgebase