Langflow PythonREPLComponent not sandboxed leads to RCE
Start here
A Langflow security advisory reports that its Python execution component, PythonREPLComponent, lacks effective isolation. In affected deployments, authenticated users with permission to edit and run flows could exploit this to gain service process privileges and there is a privilege escalation risk. The advisory lists the affected range as versions before 1.10.1 of Langflow and the underlying lfx package.
Generated by AI from reports · Updated 2026-10-09
Storyline
- · 1 reports· Attention37Langflow Smart Transform prompt injection leading to code execution vulnerability
- · 3 reports· Attention32Langflow high-severity vulnerability reportedly targeted in honeypot exploitation attempts
- · 1 reports· Attention39
Langflow PythonREPLComponent not sandboxed leads to RCEThis event
- · 1 reports· Attention36Langflow fixes IP spoofing bypass vulnerability in MCP installation endpoint
- · 1 reports· Attention20Langflow code validation endpoint has a code injection vulnerability
- · 1 reports· Attention32An authenticated flow author in Langflow OSS can bypass file access isolation
Progress timeline
- GitHub Security AdvisoriesSelectedLangflow fixes authenticated RCE and privilege escalation vulnerability caused by PythonREPLComponent not being sandboxed
Langflow security advisory reports that its Python execution component lacks effective isolation; in affected deployments, authenticated users with permission to edit and run flows may gain service process privileges, with a privilege escalation risk. The advisory lists affected versions as before 1.10.1 for Langflow and the underlying lfx package.