CVE-2025-5151
published medium CVSS 4.0 · 4.8defog-ai introspect analysis_tools.py execute_analysis_code_safely code injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| defog-ai | — | introspect0.1.0 · 0.1.1 · 0.1.2 · 0.1.3 · 0.1.4 | Affected | Not stated | VulDB |
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."
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | — |
| 3.0 | 5.3 | medium | VulDB · cna | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:P/A:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| defog-ai | introspect | 0.1.0 (affected)0.1.1 (affected)0.1.2 (affected)0.1.3 (affected)0.1.4 (affected) | VulDB · cna |
Weaknesses
2- CWE-94 Code Injection
- CWE-74 Injection
References
7- https://github.com/defog-ai/introspect/issues/495
- https://github.com/defog-ai/introspect/issues/495#issue-3036141048
- https://github.com/defog-ai/introspect/issues/495#issuecomment-2894640278
- https://github.com/defog-ai/introspect/pull/502
- VDB-310239 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/?ctiid.310239
- VDB-310239 | defog-ai introspect analysis_tools.py execute_analysis_code_safely code injection https://vuldb.com/?id.310239
- Submit #574809 | defog-ai introspect v0.1.0 to v0.1.4 Code Injection https://vuldb.com/?submit.574809
Provider assertions
2VulDB · cna
defog-ai introspect analysis_tools.py execute_analysis_code_safely code injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7e6dee2a94dbfd44206aae413e23ddb8fb31f76560178c2344fc72a623d347bf
- Ingested
- 23 Sep 2026, 08:54:33 UTC
- Source record
- Official CVE record