Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-5151— defog-ai introspect analysis_tools.py execute_analysis_code_safely code injection

Quick assessment

Affected
defog-ai introspect
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Introspect是Defog.ai开源的一个应用程序。 Introspect 0.1.4及之前版本存在注入漏洞,该漏洞源于对文件introspect/backend/tools/analysis_tools.py中参数code的错误操作导致代码注入。

CVSS 5.3 · Medium EPSS 0.28% · P20
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-5151

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
defog-ai introspect analysis_tools.py execute_analysis_code_safely code injection
Source: CVE Program / CVE List V5
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."
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Introspect 注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Introspect是Defog.ai开源的一个应用程序。 Introspect 0.1.4及之前版本存在注入漏洞,该漏洞源于对文件introspect/backend/tools/analysis_tools.py中参数code的错误操作导致代码注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
defog-ai introspect 0.1.0 -

II. Public POCs for CVE-2025-5151

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-5151

登录查看更多情报信息。

Vendor Advisories for CVE-2025-5151 (1)

Other References for CVE-2025-5151 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2025-5151

No comments yet


Leave a comment