CVE-2026-7873 Code Injection Vulnerability in Code Validation Endpoint

Critical 9.9 Published Updated

Authenticated attackers can execute arbitrary OS commands and read sensitive files in IBM Langflow OSS, leading to system compromise.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-7873?

CVE-2026-7873 is a critical code injection vulnerability in Langflow Langflow, published on 30 Jun 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.0 allows authenticated attackers to execute arbitrary OS commands and read sensitive files including credentials, enabling complete system compromise and lateral movement.

Weakness: CWE-94

Which versions are affected by CVE-2026-7873?

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

PackageAffectedFixed in
langflow PyPIFrom 1.0.01.10.1.rc0
langflow PyPIFrom 1.0.01.10.1.rc0

Products include Langflow Langflow.

How do I fix CVE-2026-7873?

Upgrade langflow to 1.10.1.rc0 or later.

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

Is CVE-2026-7873 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7873 exists.

Public exploit code: 1 Metasploit module and 1 proofs of concept on GitHub.

All Langflow Langflow vulnerabilities

Sources

Also known as GHSA-v798-mcc6-2m3m.

Is CVE-2026-7873 in your software?

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

Check your SBOMs for free