CVE-2026-12940
Langflow remote code execution
- Published30 Jul 2026
Description
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.
CVSS 3.1 breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
Remediation
Related CVEs
Recent high-severity vulnerabilities sharing a weakness type.
Frequently asked
Is CVE-2026-12940 being actively exploited?
CVE-2026-12940 is not in the CISA KEV catalog. Its EPSS exploit probability is 0.94%.
How severe is CVE-2026-12940?
CVE-2026-12940 has a CVSS 3.1 base score of 9.8, rated critical. EPSS estimates a 0.94% probability of exploitation.
Which products are affected by CVE-2026-12940?
Affected products include Langflow.
How do I fix CVE-2026-12940?
Upgrade affected software to a fixed version, for example Langflow 1.10.2 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2026-12940 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.