CVE-2026-10561 Unauthenticated Remote Code Execution in Langflow OSS PythonREPLComponent via Builtins Injection

Critical 10.0 Published Updated

Unauthenticated attackers can execute arbitrary code on IBM Langflow OSS via builtins injection in the PythonREPLComponent, leading to full system compromise.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-10561?

CVE-2026-10561 is a critical code injection vulnerability in Langflow Langflow, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined with an authentication bypass that allows an unauthenticated attacker to execute arbitrary code on the host system, resulting in complete compromise

Weakness: CWE-94

Which versions are affected by CVE-2026-10561?

3 open source packages ship an affected version, including langflow. It affects 1 product.

PackageAffectedFixed in
langflow PyPIAll versions1.10.1
langflow PyPIAll versions1.10.1
langflow PyPIAll versions1.10.1

Products include Langflow Langflow.

How do I fix CVE-2026-10561?

Upgrade langflow to 1.10.1 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-10561 being exploited?

There is no known exploitation of CVE-2026-10561 in the wild and no public exploit code.

All Langflow Langflow vulnerabilities

Sources

Also known as GHSA-8qpj-27x8-pwpq, PYSEC-2026-4231.

Is CVE-2026-10561 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free