CVE-2026-7873: IBM Langflow OSS code injection in code validation endpoint

CVE-2026-7873 · Severity: critical · CVSS 9.9 · Published 2026-06-30

IBM Langflow OSS, a tool used for building and testing AI applications, contains a security flaw that allows registered users to run unauthorized commands on the underlying server. An attacker could use this to steal sensitive credentials, access private files, or gain full control over the system. This could lead to a complete compromise of the AI development environment and potential movement into other parts of the corporate network.

Technologies: IBM Langflow OSS, langflow (PyPI). Vendors: IBM, PyPI.

Quick answers

Is CVE-2026-7873 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-7873 being exploited in the wild.
How severe is CVE-2026-7873?
Critical severity, with a CVSS score of 9.9, published 30 June 2026.
Which products and versions are affected?
IBM Langflow OSS 1.0.0-1.10.0; langflow (PyPI) >= 1.0.0, < 1.10.1.rc0, ECOSYSTEM:introduced=1.0.0,fixed=1.10.1.rc0.
Is there a fix for CVE-2026-7873?
Yes. langflow (PyPI): upgrade to 1.10.1.rc0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-7873 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-7873?
Check whether you run IBM Langflow OSS or langflow (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • langflow (PyPI): upgrade to 1.10.1.rc0 or later
    pip install "langflow>=1.10.1.rc0"

Technical details

A code injection vulnerability (CWE-94) exists in the code validation endpoint of IBM Langflow OSS. The flaw is rooted in the validation logic which compiled and executed function definitions to check for import errors. Specifically, attackers can exploit Python's default argument evaluation mechanism to trigger code execution during the validation process, even if the function itself is never called. This allows an authenticated user with network access to the endpoint to execute arbitrary OS commands and access sensitive files. The vulnerability is remediated in version 1.10.1 by switching to compile-only validation and removing the execution step.

Affected products

  • IBM Langflow OSS 1.0.0-1.10.0

Identifiers

  • CVE-2026-7873
  • GHSA-v798-mcc6-2m3m

Timeline

  • 2026-06-29: advisory: Initial publication by IBM
  • 2026-06-30: disclosed: NVD publication date
  • 2026-06-29: patched: Remediation version 1.10.1 released

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.