CVE-2026-12940
Last modified
CVE-2026-12940 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 0.48% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Langflow | Langflow | >= 1.0.0, < 1.10.2 |
References
- https://www.ibm.com/support/pages/node/7279995Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-12940?
How severe is CVE-2026-12940?
How do I fix CVE-2026-12940?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12935The TL-WR940N v6 router contains a vulnerability in its RTSP…8.7
- CVE-2026-12936The Recurio – Ultimate Subscription for WooCommerce plugin f…4.9
- CVE-2026-12937The Tourfic – AI Powered Travel Booking, Hotel Booking & Car…7.5
- CVE-2026-12938The Newsletters Lite plugin for WordPress is vulnerable to S…6.4
- CVE-2026-12939The Newsletters Lite plugin for WordPress is vulnerable to S…6.4
- CVE-2026-1294The All In One Image Viewer Block plugin for WordPress is vu…7.2
- CVE-2026-12941The MultiVendorX – WooCommerce Multivendor Marketplace AI Po…6.5
- CVE-2026-12942IBM Langflow OSS 1.0.0 through 1.10.1 could allow a remote a…7.5
- CVE-2026-12943IBM HMC V10.3.1050.0 through 10.3.1064.0 and IBM HMC V11.1.1…9.8
- CVE-2026-12945IBM Langflow OSS 1.0.0 through 1.10.1 allows authenticated u…7.1
- CVE-2026-12946IBM Langflow OSS 1.0.0 through 1.10.0 could allow a remote a…9.9
- CVE-2026-12947IBM App Connect Enterprise 13.0.1.0 through 13.0.7.2, and 12…7.5
Are you affected by CVE-2026-12940?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
