IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined with an authentication…
CVE-2026-10561
Summary 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 issuperuser) or compromise the host. This issue is fixed as of 1.10.1, with additional hardening through 1.12.3. See Remediation below. Affected Package: langflow (PyPI), and the underlying lfx package that ships the component. Vulnerable versions: = 1.12.3 for the complete hardening series. Details 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: 1. Unrestricted builtins (default deployments). getglobals() built the exec globals from the globalimports allow-list but never set builtins. CPython's exec() then…
Part of the AI stack
This affects Langflow, in Agent frameworks.
Assessment
- CVSS
- 10 (v3.1)
- Severity
- Critical
- EPSS
- 0.82% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 22 June 2026
- Last updated
- 25 October 2026
- Affected
- IBM · Langflow OSS · langflow
- Weakness
- CWE-266, CWE-94, CWE-95
- Assigner
- psirt@us.ibm.com
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
At the source
References
- https://www.ibm.com/support/pages/node/7277242
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-8qpj-27x8-pwpq
- https://nvd.nist.gov/vuln/detail/CVE-2026-10561
- https://github.com/langflow-ai/langflow/pull/13700
- https://github.com/langflow-ai/langflow/commit/2754c84aad1306f463db1c3bbb3e8ffbe85da77d
- https://github.com/langflow-ai/langflow/releases/tag/v1.10.1
- https://github.com/advisories/GHSA-8qpj-27x8-pwpq
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-10561