Advisory · CVE-2026-115550
Authenticated remote code execution in Langflow via sandbox escape
Langflow OSS 1.0.0 through 1.13.0 lets a remote authenticated attacker execute arbitrary code through an in-process sandbox escape via an AST filter bypass.
- Vendor
- IBM
- Product
- Langflow
- Identifier / CWE
- CVE-2026-115550
CWE-94 - Action timing
- Immediate
Explain it like I’m five
Langflow lets users build AI flows with small pieces of code, and it runs that code inside a playpen that is supposed to keep it harmless. The playpen has a hole: a logged-in user can slip code past the filter and run whatever they want on the server.
- 01Authenticated access
A remote attacker logs in to Langflow with any valid account.
- 02Malicious code submitted
The attacker submits code crafted to bypass the AST filter in the in-process sandbox.
- 03Sandbox escaped
The filter bypass lets the code escape the sandbox that was supposed to contain it.
- 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 neutralization of special elements used in code, related to an in-process sandbox escape via an AST filter bypass. The issue is rated critical at CVSS 9.9.
Langflow executes user-supplied flow code on the server, so the sandbox is the only thing standing between a low-privilege account and the server process. This flaw defeats it.
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 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
An AI tool that runs user code is only as safe as its sandbox, and this one is broken for any authenticated user. Self-hosted Langflow instances are often set up quickly and forgotten, so the inventory step matters as much as the patch: find them all, then upgrade them all.