Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-12940 – Unauthenticated RCE – IBM Langflow OSS 1.0.0–1.10.1

Be the first to know when new zero-days emerge:

Summary

CVE-2026-12940 is a critical unauthenticated remote code execution (RCE) vulnerability affecting IBM Langflow OSS versions 1.0.0 through 1.10.1. The flaw resides in the Model Context Protocol (MCP) stdio launcher, where an incomplete blocklist of dangerous environment variables allows a remote, unauthenticated attacker to inject OS commands and execute arbitrary code on the host. It carries a CVSS v3.1 base score of 9.8 (Critical).

Technical details

  • Root cause: The DANGEROUS_ENV_VARS blocklist defined in src/lfx/src/lfx/base/mcp/util.py omits the SHELLOPTS, BASHOPTS, and PS4 Bash environment variables. These variables are interpreted by the shell at process startup and can be weaponized to inject arbitrary commands that execute when the MCP stdio subprocess is spawned.
  • Trigger conditions: An attacker submits an HTTP request that causes the server to launch an MCP stdio subprocess with attacker-controlled environment variables. No authentication, credentials, or victim interaction are required.
  • Attack vector: Network-accessible; exploitable against any internet-facing Langflow OSS instance without prior access.
  • Impact: Full unauthenticated remote code execution on the underlying server — complete compromise of confidentiality, integrity, and availability.
  • CWE: CWE-78 (Improper Neutralization of Special Elements used in an OS Command).

Affected software

  • IBM Langflow OSS 1.0.0 through 1.10.1 (inclusive)

Severity

  • CVSS v3.1 Base Score: 9.8 (Critical)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Mitigation and recommended actions

  • Immediate — patch: Upgrade to Langflow OSS 1.10.2, released by IBM and available via PyPI. This version adds SHELLOPTS, BASHOPTS, and PS4 to the DANGEROUS_ENV_VARS blocklist, closing the injection path.
  • No documented vendor workaround exists for unpatched versions. Organizations unable to patch immediately should restrict network access to the Langflow web interface (default port 7860) at the perimeter, ensuring it is not reachable from untrusted networks.

IONIX Status

The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge