Langflow PythonREPLComponent runs unsandboxed code, enabling RCE and privilege escalation (CVE-2026-10561)
Summary
Langflow's PythonREPLComponent and the legacy PythonREPLToolComponent ran Python code in-process without effective sandboxing. Per the GitHub advisory, an authenticated user who could edit and run a flow could get remote code execution and escalate to superuser (CVSS 9.9). IBM's bulletin describes the same flaw as unauthenticated when LANGFLOW_AUTO_LOGIN=true, scores it 10, and names different affected and fixed versions (1.0.0 to 1.9.3, fixed in 1.9.4). The GitHub advisory lists 1.10.1 as patched and recommends 1.12.3 or later.
Severity
Timeline
IBM publishes a security bulletin for Langflow OSS covering this CVE.
Langflow's GitHub advisory GHSA-8qpj-27x8-pwpq is published, listing 1.10.1 as patched.
How it happened
Per the GitHub advisory, get_globals() built the exec globals without setting __builtins__, so CPython added the full builtins module and the Global Imports allow-list did not restrict code. This applied with the default configuration (allow_custom_components=True). Separately, deployments with allow_custom_components=False could still run interpreter code because the components did not check that policy. IBM states that with LANGFLOW_AUTO_LOGIN=true (the default) the same flaw is reachable without credentials.
How to check your app
- All affected versions: Check the installed langflow version. The GitHub advisory lists versions below 1.10.1 as vulnerable; IBM lists 1.0.0 to 1.9.3.
- 1.0.0 to 1.9.3 (per IBM): Check whether LANGFLOW_AUTO_LOGIN=true is set, since IBM ties unauthenticated access to this default.
- Versions below 1.10.1: Look for flows that use PythonREPLComponent (Python Interpreter) or PythonREPLToolComponent (Python REPL Tool).
Sources
Corrections and updates
Cite this entry
- Title
- Langflow PythonREPLComponent runs unsandboxed code, enabling RCE and privilege escalation (CVE-2026-10561)
- Added
- Nov 19, 2026
- URL
- https://vibeincidents.com/incidents/langflow-cve-2026-10561/
- Suggested citation
VibeIncidents. "Langflow PythonREPLComponent runs unsandboxed code, enabling RCE and privilege escalation (CVE-2026-10561)." Nov 19, 2026. https://vibeincidents.com/incidents/langflow-cve-2026-10561/