CVE-2025-5151

MEDIUM EPSS 17.0%
Published May 25, 20251y ago · Modified Jun 17, 20261w ago
4.8 CVSS 4.0
Medium
Find Similar
Published May 25, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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 Details

Base Score
4.8
Exploitability
Impact
Vector string
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
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
17.0% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 2

CWE-74
CWE-94 Improper Control of Generation of Code (Code Injection) Injection

Affected Products 1

VendorProductVersionRange
defogintrospect*≥0.1.0  –  ≤0.1.4

References 7

  • github.com https://github.com/defog-ai/introspect/issues/495
    ExploitIssue TrackingPatch
  • github.com https://github.com/defog-ai/introspect/issues/495#issue-3036141048
    ExploitIssue TrackingPatch
  • github.com https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278
    ExploitIssue TrackingPatch
  • github.com https://github.com/defog-ai/introspect/pull/502
    Broken Link
  • vuldb.com https://vuldb.com/?ctiid.310239
    Permissions RequiredVDB Entry
  • vuldb.com https://vuldb.com/?id.310239
    Third Party AdvisoryVDB Entry
  • vuldb.com https://vuldb.com/?submit.574809
    Third Party AdvisoryVDB Entry

Remediation

  • github.com https://github.com/defog-ai/introspect/issues/495
    ExploitIssue TrackingPatch
  • github.com https://github.com/defog-ai/introspect/issues/495#issue-3036141048
    ExploitIssue TrackingPatch
  • github.com https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278
    ExploitIssue TrackingPatch