IBMCVE-2026-12940
IBM Langflow OSS: remote code execution
Critical9.8CVE-2026-12940 · Published Jul 30, 2026 · updated Aug 4, 2026
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Langflow OSS Product | >= 1.0.0, <= 1.10.1 | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-78
More IBM advisories
All IBM| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jul 30 | IBM WebSphere Application Server: remote code execution | High8.5 | No fix yet |
| Jul 30 | IBM Langflow OSS: code injection | Critical9.9 | No fix yet |
| Jul 30 | UCD - IBM: information disclosure | Medium4.3 | No fix yet |
| Jul 30 | IBM Langflow OSS: improper input validation | Critical9.9 | No fix yet |
| Jul 30 | IBM Langflow OSS: attacker could access another user's private vector | High8.1 | No fix yet |
| Jul 30 | IBM Langflow OSS: path traversal | High7.5 | No fix yet |