CVE-2025-5151

published 25 May 2025 · updated 28 May 2025

defog-ai introspect analysis_tools.py execute_analysis_code_safely code injection

6.3MediumCVSS 5.3EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
defog-ai=0.1.0, =0.1.1, =0.1.2, =0.1.3, =0.1.4

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-5151 severity on Zeptric[![CVE-2025-5151](https://zeptric.io/badge/cve/CVE-2025-5151.svg)](https://zeptric.io/cve/CVE-2025-5151)