CVE-2026-18894: IBM Langflow OSS 1.0.0 through 1.12.4 could allow a remote attacker to trigger pre-existing stored Python component code in a public workflow, executing it unde
Langflow OSS 1.0.0 through 1.12.4 lets a remote, unauthenticated attacker trigger Python component code already stored in a public workflow. The code runs in the server process under the flow owner's context. IBM's bulletin lists the fix for this CVE in 1.11.2 and recommends upgrading to 1.12.5, which includes it.
Published Oct 29, 2026 · Updated Oct 30, 2026 · Analysis Oct 30, 2026
What an attacker can do
Langflow restricts public execution paths to component code the server trusts. This flaw breaks that boundary. A visitor who can reach a public workflow can cause Python component code stored in that flow to run inside the Langflow server process, with the flow owner's runtime context.
The attacker triggers code that is already stored in the flow rather than supplying new code, so the damage depends on what the flow's custom components do and on what the owner can reach. In practice that can mean access to the owner's API keys, model provider credentials and connected data stores, and anything the server process can touch. NVD scores it 9.8 for network access with no privileges or interaction. IBM scores it 6.5 and notes that the environmental score depends on each customer's setup.
The risk is greatest for instances that expose public flows to the internet.
Who is affected
Langflow OSS 1.0.0 through 1.12.4 on Linux, Windows and macOS, per the IBM bulletin. Instances with public workflows are the exposed ones. Check the installed version:
pip show langflow
langflow --versionCheck the environment for LANGFLOW_ALLOW_PUBLIC_CUSTOM_COMPONENTS. IBM says enabling it weakens the protection against this issue.
How to fix it
Upgrade to Langflow 1.12.5. IBM's bulletin says the fix for this CVE shipped in 1.11.2 and that 1.12.5 includes it along with later fixes. IBM asks you to back up the installation, read the release notes for configuration changes, and test your flows after the upgrade.
pip install --upgrade "langflow>=1.12.5"IBM also says to keep the default restriction on custom components in public workflows. Do not set LANGFLOW_ALLOW_PUBLIC_CUSTOM_COMPONENTS.
How to tell if you were hit
Review which flows are public and which of them hold custom Python components. Check Langflow access logs for unauthenticated requests that run public flows, especially from addresses you do not know. Look at the server process for unexpected child processes, outbound connections and file writes. Rotate the API keys and credentials available to flow owners if you find signs of abuse. If Langflow agents run on developer machines, Beam can record shell commands and file access, which helps you see what ran.
Original advisory
From the National Vulnerability Database. This product uses the NVD API but is not endorsed or certified by the NVD.
IBM Langflow OSS 1.0.0 through 1.12.4 could allow a remote attacker to trigger pre-existing stored Python component code in a public workflow, executing it under the flow owner's runtime context within the server process. This bypasses the intended trust boundary where public execution paths are restricted to server-trusted component code.
Questions
- Does this need authentication?
No. The NVD vector sets privileges required to none and user interaction to none. The attacker only needs to reach a public workflow.
- Which version fixes CVE-2026-18894?
IBM's bulletin lists 1.11.2 for this CVE and recommends upgrading to 1.12.5, which contains it plus later fixes. Affected versions are 1.0.0 through 1.12.4.
- Why do NVD and IBM disagree on severity?
NVD lists CVSS 3.1 of 9.8. IBM scores it 6.5 and says the environmental score depends on each customer's setup. Treat internet-facing instances with public flows as high risk.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
