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."
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Defog | Introspect | >= 0.1.0, <= 0.1.4 |
Related Weaknesses (CWE)
References
- https://github.com/defog-ai/introspect/issues/495ExploitIssue TrackingPatch
- https://github.com/defog-ai/introspect/issues/495#issue-3036141048ExploitIssue TrackingPatch
- https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278ExploitIssue TrackingPatch
- https://github.com/defog-ai/introspect/pull/502Broken Link
- https://vuldb.com/?ctiid.310239Permissions RequiredVDB Entry
- https://vuldb.com/?id.310239Third Party AdvisoryVDB Entry
- https://vuldb.com/?submit.574809Third Party AdvisoryVDB Entry
- https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278ExploitIssue TrackingPatch
FAQ
What is CVE-2025-5151?
CVE-2025-5151 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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....
How severe is CVE-2025-5151?
CVE-2025-5151 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-5151?
Check the references section above for vendor advisories and patch information. Affected products include: Defog Introspect.