Servers and applications
GHSA-8qpj-27x8-pwpq
PythonREPLComponent executes unsandboxed Python code, enabling authenticated RCE and privilege escalation
- Severity
- Critical 9.9
- Published
- 28 Sept 2026
- Last changed
- 28 Sept 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 1.10.1
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H- Sources
- Project advisories (GitHub)
Description
Langflow's built-in Python interpreter components — PythonREPLComponent (Python Interpreter) and the legacy PythonREPLToolComponent (Python REPL Tool) — executed arbitrary user- or model-supplied Python code inside flows without effective sandboxing. Because the code ran in-process with the privileges of the Langflow service, any authenticated user who could edit and run a flow could achieve remote code execution and, from there, escalate privileges to superuser (e.g. by opening a database session and flipping is_superuser) or compromise the host.
This issue is fixed as of 1.10.1, with additional hardening through 1.12.3. See Remediation below.
The root cause is code injection (CWE-94/CWE-95): the component passed raw input to LangChain's PythonREPL, which is explicitly not a security sandbox.
Two distinct weaknesses existed before 1.10.1:
Affected software
| Software | Affected versions |
|---|---|
LangflowServers and applications · github:langflow-ai/langflow |
|
About Langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
- Weekly downloads (PyPI)
- 8,374PyPI Stats, 15 Nov 2026
- Docker Hub pulls
- 4,731,179Docker Hub, 15 Nov 2026
- GitHub stars
- 156,656GitHub, 15 Nov 2026
- Forks
- 10,412GitHub, 15 Nov 2026
- Latest release
- v1.13.2GitHub, 15 Nov 2026
- Released
- 10 Nov 2026GitHub
- License
- MITGitHub
- First published on GitHub
- 8 Feb 2023GitHub
Source code Website Docker image Package
Vulnerabilities in Langflow
- In our list
- 228
- Published in the last 12 months
- 221
- Critical, last 12 months
- 60
- High, last 12 months
- 101
- Known exploited
- 6
- CVE-2026-97677Langflow OSS is affected by multiple vulnerabilitiesHigh 8.1 8 Nov 2026
- GHSA-qvqp-mxh4-f27wLangflow URL component: unbounded response size allows denial of service via memory exhaustionMedium 6.5 5 Nov 2026
- CVE-2026-18894Langflow OSS is affected by multiple vulnerabilitiesCritical 9.8 29 Oct 2026
- CVE-2026-77817Langflow OSS is affected by multiple vulnerabilitiesMedium 6.5 29 Oct 2026
- CVE-2026-77819Langflow OSS is affected by multiple vulnerabilitiesMedium 6.5 29 Oct 2026
- CVE-2026-90991Langflow OSS is affected by multiple vulnerabilitiesMedium 6.5 29 Oct 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-8qpj-27x8-pwpq
- github.com https://github.com/langflow-ai/langflow/security/advisories/GHSA-8qpj-27x8-pwpq