Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/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
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
6DescriptionCVE.org
A vulnerability was found in ScrapeGraphAI scrapegraph-ai up to 1.74.0. The affected element is the function create_sandbox_and_execute of the file scrapegraphai/nodes/generate_code_node.py of the component GenerateCodeNode Component. The manipulation results in os command injection. The attack may be launched remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
AnalysisAI
Remote code execution in ScrapeGraphAI scrapegraph-ai up to version 1.74.0 allows unauthenticated remote attackers to inject arbitrary operating system commands via the create_sandbox_and_execute function in GenerateCodeNode Component, with publicly available exploit code and vendor non-response confirming active real-world risk.
Technical ContextAI
The vulnerability exists in the GenerateCodeNode Component's create_sandbox_and_execute function within scrapegraphai/nodes/generate_code_node.py. The root cause is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), indicating that user-supplied input is not properly sanitized before being passed to OS command execution routines. ScrapeGraphAI is a library for web scraping using graph-based techniques, and the vulnerable function appears to handle sandbox creation and code execution logic. The attack surface is accessible via network (AV:N) with low attack complexity (AC:L) and does not require user privileges (PR:N), though it does require user interaction (UI:R), suggesting the attacker must trick a user into performing an action that triggers the malicious payload.
RemediationAI
Upgrade ScrapeGraphAI scrapegraph-ai to a version released after 1.74.0 that addresses the os command injection in the GenerateCodeNode Component's create_sandbox_and_execute function. As a vendor-released patch version is not independently confirmed from available data, users should monitor the official ScrapeGraphAI repository (https://github.com/August829/CVEP/issues/19 documents the POC) for a patched release or interim guidance. In the interim, restrict execution of the GenerateCodeNode Component to trusted input sources, implement input validation and sanitization at the application level, avoid passing user-controlled data directly to the create_sandbox_and_execute function without verification, and consider isolating ScrapeGraphAI instances in sandboxed or containerized environments to limit OS command injection impact.
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-19014