CVE-2025-5151
What it is
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."
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. Limited direct impact.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 4.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-74
- Record status
- Analyzed
Affected
- Defog Introspect ≤ 0.1.4
Attack profile CVSS 4.0 · 4.8
- Attack vector
- Local
- Complexity
- Low
- Attack requirements
- None
- Privileges needed
- Low
- User interaction
- None
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Raw vector
CVSS:4.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
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2025-5151.md and follow it. Check whether this project is affected by CVE-2025-5151. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/defog-ai/introspect/issues/495
- https://github.com/defog-ai/introspect/issues/495#issue-3036141048
- https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278
- https://github.com/defog-ai/introspect/pull/502
- https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278
References
- https://github.com/defog-ai/introspect/issues/495
- https://github.com/defog-ai/introspect/issues/495#issue-3036141048
- https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278
- https://github.com/defog-ai/introspect/pull/502
- https://vuldb.com/?ctiid.310239
- https://vuldb.com/?id.310239
- https://vuldb.com/?submit.574809
- https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278