Advisory · CVE-2026-115555
Authenticated remote code execution in Langflow via arbitrary Python module import
Langflow OSS 1.0.0 through 1.13.0 lets a remote authenticated attacker execute arbitrary code through improper control of code generation during the import of arbitrary Python modules.
- Vendor
- IBM
- Product
- Langflow
- Identifier / CWE
- CVE-2026-115555
CWE-94 - Action timing
- Immediate
Explain it like I’m five
Langflow builds flow components by importing Python modules, and it does not properly check which modules a user asks for. A logged-in user can ask for a module that runs their own code, and the server obeys.
- 01Authenticated access
A remote attacker logs in to Langflow with any valid account.
- 02Module import requested
The attacker crafts a flow that imports an arbitrary Python module.
- 03Code generation unchecked
Langflow does not properly control code generation during the import.
- 04Code executed
Arbitrary code runs in the Langflow server process.
- 05Server compromised
The attacker can access configured secrets, stored flows, and internal services.
What happened
IBM bulletin 7297616 reports that Langflow OSS 1.0.0 through 1.13.0 lets a remote authenticated attacker execute arbitrary code through improper control of code generation during the import of arbitrary Python modules. The issue is rated critical at CVSS 9.9.
This is a sibling of the sandbox-escape flaw in the same bulletin: where that one slips past the code filter, this one abuses the module import path that generates code, and both end in the same place, arbitrary code in the server process.
What to do
- Inventory Langflow deployments, including demo, development, and individually managed instances.
- Upgrade to Langflow 1.13.5 or later; the December 1, 2026 release tightens generated-component code and import policy.
- Restrict who can log in to Langflow and who can create or edit flows until patched, and treat any account that can submit code as privileged.
- Review flow execution logs and server process activity for unexpected imports or code execution, and check for new flows or components created by low-privilege users.
- Rotate API keys and credentials configured in Langflow if the server was reachable by untrusted users before patching, and treat the host as compromised if code execution cannot be ruled out.
Management note
Two distinct 9.9 code execution flaws in the same release means the code-execution surface of Langflow was broadly unsafe, not unlucky in one place. Patching to 1.13.5 fixes both, but it is also a good moment to decide who really needs an account that can submit code.