Skip to content
CriticalVulnerability

CVE-2026-12940: IBM Langflow OSS unauthenticated code execution via MCP stdio launcher

Identifier
CVE-2026-12940
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%

Summary

CVE-2026-12940 affects IBM Langflow OSS versions 1.0.0 through 1.10.1. The flaw is in the MCP (Model Context Protocol) stdio launcher, in src/lfx/src/lfx/base/mcp/util.py, where the DANGEROUS_ENV_VARS blocklist omits SHELLOPTS, BASHOPTS, and PS4. Per the source, this allows unauthenticated remote code execution through environment variable injection and is classified as CWE-78, OS Command Injection. NVD had not yet provided an assessment at publication on 07/30/2026.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.