Local code execution via direct Python exec
Published May 25, 2025 · Updated May 28, 2025
Code injection in Defog Introspect 0.1.0 through 0.1.4 allows local users to execute Python code through the analysis tool. execute_analysis_code_safely passes the supplied code string to Python exec inside a namespace containing data libraries, without an effective sandbox. Low-privileged local access is required; injected code can read or modify resources available inside the service container and return file contents.
Summary
What happened
Code injection in Defog Introspect 0.1.0 through 0.1.4 allows local users to execute Python code through the analysis tool. execute_analysis_code_safely passes the supplied code string to Python exec inside a namespace containing data libraries, without an effective sandbox. Low-privileged local access is required; injected code can read or modify resources available inside the service container and return file contents.
The record
- CVE
- CVE-2025-5151
- Published
- May 25, 2025
- Updated
- May 28, 2025
- Vendor
- Defog.ai
- Product
- Defog Introspect
- Classifications
- CWE-74, CWE-94, T1059.006
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 25, 2025CVE publishedPublication date reported by the CVE source.
- May 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.1.0
- Affected versionversion=0.1.1
- Affected versionversion=0.1.2
- Affected versionversion=0.1.3
- Affected versionversion=0.1.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Local pandas file-read proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo