CVE-2026-9201 Langflow OSS is affected by arbitrary code execution in component generation, validation, and custom component handling
Authenticated attackers can execute arbitrary Python code by bypassing component validation via hash collisions in Langflow OSS when hardening mode is enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-9201?
CVE-2026-9201 is a high-severity code injection vulnerability in Langflow Langflow, published on 5 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
IBM Langflow OSS 1.0.0 through 1.10.3 could allow an authenticated attacker to execute arbitrary code due to a cryptographic weakness in the custom component validation mechanism. When the optional hardening mode that restricts execution to trusted component templates is enabled, the application validates component code using a truncated SHA‑256 hash. Because the hash comparison relies on only a portion of the digest, an attacker can craft malicious component code that collides with a trusted template hash and bypasses validation. Successful exploitation allows the attacker to introduce and execute unauthorized Python code within the Langflow process, defeating the intended security control and potentially leading to full compromise of the affected instance.
Weakness: CWE-326
Which versions are affected by CVE-2026-9201?
It affects 1 product.
Products include Langflow Langflow.
How do I fix CVE-2026-9201?
No fix has been published for CVE-2026-9201 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-9201 being exploited?
There is no known exploitation of CVE-2026-9201 in the wild and no public exploit code.
Other vulnerabilities in Langflow Langflow
Sources
Also known as GHSA-wq52-m42w-xg45.