CVE-2026-97676: Langflow: sandbox escape allows authenticated RCE
HIGHCVE-2026-97676 is a code injection flaw (CWE-94) in IBM Langflow OSS 1.0.0 through 1.12.2 that lets any authenticated low-privilege user escape the code sandbox and run arbitrary commands on the host. Exploitation is easy (network, low complexity, no user interaction), but near-term likelihood looks moderate: EPSS is only 0.5% (top 57%), the CVE is not in CISA KEV, and there is no public exploit or Nuclei template. The package is a heavy hitter, though. Langflow has 194 other CVEs, a 77/100 package risk score and an active repository, and the vendor patch is only referenced in IBM's advisory. Upgrade to the fixed release listed in IBM's advisory (https://www.ibm.com/support/pages/node/7290694), restrict Langflow access to trusted users and networks, and review any instance holding LLM API keys or data connectors, since those secrets would be exposed on compromise.
What is the risk?
High (CVSS 8.8). The attack is network-reachable, low complexity, needs only low privileges and no user interaction, and gives full confidentiality, integrity and availability impact. Likelihood is moderate for now: EPSS 0.00536 (top 57%), not in CISA KEV, no public exploit, no Nuclei template, and no SSVC decision. Langflow's long CVE history (194 other CVEs) shows attackers and researchers actively examine its code execution paths, so a public proof of concept could appear quickly. The authentication requirement lowers risk for private deployments but not for multi-tenant instances, shared workspaces, or instances with open self-registration.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Langflow | pip | — | No patch |
Do you use Langflow? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 step1) Upgrade Langflow OSS to the fixed version named in the IBM advisory (https://www.ibm.com/support/pages/node/7290694); versions 1.0.0 through 1.12.2 are affected. 2) Until patched, restrict access to Langflow to trusted users behind VPN or SSO, and disable open self-registration. 3) Run Langflow in a hardened container with a non-root user, a read-only filesystem, no host mounts, and egress filtering. 4) Rotate LLM API keys, database credentials and other secrets stored in Langflow if compromise is suspected. 5) Detect: monitor for unexpected child processes spawned by the Langflow process, outbound connections to unknown hosts, and unusual custom component or code-execution API calls from low-privilege accounts. 6) Audit user accounts and flows for unauthorized custom code components.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-97676?
CVE-2026-97676 is a code injection flaw (CWE-94) in IBM Langflow OSS 1.0.0 through 1.12.2 that lets any authenticated low-privilege user escape the code sandbox and run arbitrary commands on the host. Exploitation is easy (network, low complexity, no user interaction), but near-term likelihood looks moderate: EPSS is only 0.5% (top 57%), the CVE is not in CISA KEV, and there is no public exploit or Nuclei template. The package is a heavy hitter, though. Langflow has 194 other CVEs, a 77/100 package risk score and an active repository, and the vendor patch is only referenced in IBM's advisory. Upgrade to the fixed release listed in IBM's advisory (https://www.ibm.com/support/pages/node/7290694), restrict Langflow access to trusted users and networks, and review any instance holding LLM API keys or data connectors, since those secrets would be exposed on compromise.
Is CVE-2026-97676 actively exploited?
No confirmed active exploitation of CVE-2026-97676 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-97676?
1) Upgrade Langflow OSS to the fixed version named in the IBM advisory (https://www.ibm.com/support/pages/node/7290694); versions 1.0.0 through 1.12.2 are affected. 2) Until patched, restrict access to Langflow to trusted users behind VPN or SSO, and disable open self-registration. 3) Run Langflow in a hardened container with a non-root user, a read-only filesystem, no host mounts, and egress filtering. 4) Rotate LLM API keys, database credentials and other secrets stored in Langflow if compromise is suspected. 5) Detect: monitor for unexpected child processes spawned by the Langflow process, outbound connections to unknown hosts, and unusual custom component or code-execution API calls from low-privilege accounts. 6) Audit user accounts and flows for unauthorized custom code components.
What systems are affected by CVE-2026-97676?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, RAG pipelines, LLM orchestration platforms, low-code AI workflow builders.
What is the CVSS score for CVE-2026-97676?
CVE-2026-97676 has a CVSS v3.1 base score of 8.8 (HIGH). The EPSS exploitation probability is 0.73%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0012Valid AccountsAML.T0049Exploit Public-Facing ApplicationAML.T0050Command and Scripting InterpreterAML.T0097Virtualization/Sandbox EvasionCompliance Controls Affected
What are the technical details?
Original Advisory
IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote authenticated attacker to execute arbitrary code due to improper neutralization of special elements used in code, resulting in a sandbox escape.
Exploitation Scenario
An attacker obtains a low-privilege Langflow account, through open registration, a phished developer login or a leaked credential. They create or edit a flow containing a custom code or Python component with a payload that bypasses the sandbox restrictions, abusing improper neutralization of special elements in code. The payload runs on the host as the Langflow service user and reads environment variables and stored credentials, including LLM provider keys and vector database tokens. The attacker then exfiltrates those secrets, installs a reverse shell for persistence, and moves laterally into the cloud account or internal data stores connected to the AI platform.
Weaknesses (CWE)
CWE-94Improper Control of Generation of Code ('Code Injection')PrimaryCWE-94Improper Control of Generation of Code ('Code Injection')CWE-94 — Improper Control of Generation of Code ('Code Injection'): The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- [Architecture and Design] Refactor your program so that you do not have to dynamically generate code.
- [Architecture and Design] Run your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which code can be executed by your product. Examples include the Unix chroot jail and AppArmor. In general, managed code may provide some protection. This may not be a feasible solution, and it only limits the impact to the operating system; the rest of your application may still be subject to compromise. Be careful to avoid CWE-243 and other weaknesses related to jails.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HReferences
Timeline
Related Vulnerabilities
CVE-2026-1056110.0Langflow: auth bypass + unauthenticated RCE (CVSS 10)
Same package: langflowCVE-2026-1013410.0Langflow: unauthenticated RCE via tool_code injection
Same package: langflowCVE-2026-333099.9langflow: Path Traversal enables file access
Same package: langflowCVE-2026-552559.9Langflow: IDOR allows cross-user flow execution
Same package: langflowCVE-2026-78739.9Langflow: authenticated RCE enables credential theft
Same package: langflow