Remote code executionin IBM Langflow OSS.
Proof of concept public (GitHub).
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.
- IBM strongly recommends addressing the vulnerability now by upgrading Langflow OSS to version 1.10.2 https://pypi.org/project/langflow/
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 22 Jun 2026CVE ID reserved by ibm.
- 30 Jul 2026Published in the CVE List.
- 31 Jul 2026CVE record last updated.
- 3 Aug 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Langflow OSS vulnerabilities
Same weakness: OS command injection
- www.ibm.com vendor-advisory, patch
Patchminder. CVE-2026-12940: Remote code execution in IBM Langflow OSS. https://patchminder.com/cve/cve-2026-12940/ (accessed 5 December 2026).