// For flags

CVE-2025-5151

defog-ai introspect analysis_tools.py execute_analysis_code_safely code injection

Severity Score

4.8
*CVSS v4

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track*
*SSVC
Descriptions

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.

*Credits: ybdesire
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
System
Vulnerable | Subsequent
Confidentiality
Low
None
Integrity
Low
None
Availability
Low
None
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
Attack Vector
Local
Attack Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:Track*
Exploitation
Poc
Automatable
No
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2025-05-24 CVE Reserved
  • 2025-05-25 CVE Published
  • 2025-05-28 CVE Updated
  • 2025-05-28 First Exploit
  • 2025-05-31 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Defog-ai
Search vendor "Defog-ai"
Introspect
Search vendor "Defog-ai" for product "Introspect"
0.1.0
Search vendor "Defog-ai" for product "Introspect" and version "0.1.0"
en
Affected
Defog-ai
Search vendor "Defog-ai"
Introspect
Search vendor "Defog-ai" for product "Introspect"
0.1.1
Search vendor "Defog-ai" for product "Introspect" and version "0.1.1"
en
Affected
Defog-ai
Search vendor "Defog-ai"
Introspect
Search vendor "Defog-ai" for product "Introspect"
0.1.2
Search vendor "Defog-ai" for product "Introspect" and version "0.1.2"
en
Affected
Defog-ai
Search vendor "Defog-ai"
Introspect
Search vendor "Defog-ai" for product "Introspect"
0.1.3
Search vendor "Defog-ai" for product "Introspect" and version "0.1.3"
en
Affected
Defog-ai
Search vendor "Defog-ai"
Introspect
Search vendor "Defog-ai" for product "Introspect"
0.1.4
Search vendor "Defog-ai" for product "Introspect" and version "0.1.4"
en
Affected