Skip to main content

Langflow OSS EUVDEUVD-2026-51240

| CVE-2026-12940 CRITICAL
OS Command Injection (CWE-78)
2026-07-30 ibm GHSA-gx45-8jc3-gqqr
9.8
CVSS 3.1 · Vendor: ibm
Share

Severity by source

Vendor (ibm) PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
9.8 CRITICAL

Description confirms unauthenticated remote RCE via env-var injection, so AV:N/AC:L/PR:N/UI:N with full C/I/A impact from arbitrary command execution.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (ibm).

CVSS VectorVendor: ibm

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Analysis Generated
Jul 30, 2026 - 17:23 vuln.today
CVE Published
Jul 30, 2026 - 16:41 nvd
CRITICAL 9.8

DescriptionCVE.org

IBM Langflow OSS 1.0.0 through 1.10.1  are vulnerable to unauthenticated remote code execution via environment variable injection in the MCP (Model Context Protocol) stdio launcher. The vulnerability exists in src/lfx/src/lfx/base/mcp/util.py where the DANGEROUS_ENV_VARS blocklist fails to include SHELLOPTS , BASHOPTS , and PS4 environment variables.

AnalysisAI

Unauthenticated remote code execution in IBM Langflow OSS 1.0.0 through 1.10.1 allows remote attackers to run arbitrary OS commands by injecting shell-control environment variables into the MCP (Model Context Protocol) stdio launcher. The DANGEROUS_ENV_VARS blocklist in src/lfx/src/lfx/base/mcp/util.py omits SHELLOPTS, BASHOPTS, and PS4, letting an attacker abuse Bash's xtrace behavior to execute commands when a stdio-based MCP server subprocess is spawned. Rated CVSS 9.8 with a network, no-privilege, no-interaction vector; a vendor patch is available, but no public exploit code or CISA KEV listing has been identified at the time of analysis.

Technical ContextAI

Langflow OSS is an open-source, low-code Python platform for visually building LLM/agent workflows; this flaw lives in its MCP integration layer, which can launch external Model Context Protocol servers over stdio by spawning child processes with a caller-influenced environment. To reduce risk, the code maintains a DANGEROUS_ENV_VARS blocklist intended to strip variables that could alter subprocess behavior, but it fails to cover SHELLOPTS, BASHOPTS, and PS4. These are Bash-specific controls: SHELLOPTS/BASHOPTS can enable shell options such as xtrace (set -x) at startup, and PS4 defines the trace prompt string that Bash expands-including command substitutions-each time a traced command runs. Passing PS4 together with xtrace-enabling options into a Bash subprocess therefore causes attacker-supplied command substitution to execute, matching the CWE-78 (Improper Neutralization of Special Elements used in an OS Command / OS Command Injection) root-cause class. The affected component is identified by CPE cpe:2.3:a:ibm:langflow_oss:*:*:*:*:*:*:*:*.

RemediationAI

Upgrade to the fixed IBM Langflow OSS release identified in the vendor advisory at https://www.ibm.com/support/pages/node/7279995 (patch available per vendor advisory; an exact fixed version number is not specified in the provided data and must be taken from that page). Until patched, restrict who can reach and configure MCP integrations: avoid using stdio-based MCP servers, and if the platform is network-exposed, place it behind authentication and network controls so untrusted users cannot trigger MCP server launches. As a targeted compensating control, sanitize the subprocess environment for MCP stdio launches to explicitly strip SHELLOPTS, BASHOPTS, and PS4 in addition to the existing DANGEROUS_ENV_VARS entries, or force child processes to run with a minimal/allowlisted environment; note that over-stripping environment variables could break legitimate MCP servers that rely on specific env configuration, so validate integrations after applying. Where feasible, run MCP subprocesses under a non-Bash or hardened non-interactive shell configuration to neutralize PS4/xtrace abuse.

CVE-2026-9198 CRITICAL POC
9.8 Jul 17

Unauthenticated remote code execution in IBM Langflow OSS versions 1.0.0 through 1.10.0 lets any network-reachable attac

CVE-2026-19295 CRITICAL POC
9.9 Aug 28

Authenticated command injection in IBM Langflow OSS 1.0.0 through 1.11.1 lets any logged-in flow user escalate to arbitr

CVE-2026-7873 CRITICAL POC
9.9 Jun 30

Code injection in IBM Langflow OSS versions 1.0.0 through 1.10.0 lets an authenticated user execute arbitrary operating-

CVE-2026-18729 HIGH POC
8.8 Aug 28

Remote code execution in IBM Langflow OSS 1.0.0 through 1.11.1 allows a network-accessible authenticated attacker with l

CVE-2026-9103 CRITICAL POC
9.8 Jul 17

Authentication bypass in IBM Langflow OSS 1.0.0 through 1.10.0 lets an unauthenticated remote attacker retrieve a long-l

CVE-2026-81204 CRITICAL
9.8 Sep 10

Remote code execution in IBM Langflow OSS versions 1.0.0 through 1.11.5 allows an unauthenticated remote attacker to run

CVE-2026-79724 CRITICAL
9.8 Sep 10

Remote OS command execution in IBM Langflow OSS (versions 1.0.0 through 1.11.5) lets remote attackers run arbitrary oper

CVE-2026-10561 CRITICAL POC
10.0 Jun 22

Unauthenticated remote code execution in IBM Langflow OSS versions 1.0.0 through 1.9.3 allows attackers to fully comprom

CVE-2026-9135 CRITICAL
9.9 Jul 17

Arbitrary Python code execution in IBM Langflow OSS 1.0.0 through 1.10.0 (Langflow versions up to 1.9.2) allows authenti

CVE-2026-8476 CRITICAL
9.9 Jul 17

Remote code execution in IBM Langflow OSS 1.0.0 through 1.10.0 allows attackers to run arbitrary code by planting a mali

CVE-2026-8481 CRITICAL
9.9 Jul 17

Authenticated remote code execution in IBM Langflow OSS 1.0.0 through 1.10.0 lets any logged-in user run arbitrary Pytho

CVE-2026-8859 CRITICAL
9.9 Jul 17

Arbitrary file write in IBM Langflow OSS 1.0.0 through 1.10.0 lets an attacker who controls an external HTTP server plan

Share

EUVD-2026-51240 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy