CriticalVulnerability
CVE-2026-12940: IBM Langflow OSS unauthenticated code execution via MCP stdio launcher
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-12940
- Published
- Record updated
- 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.
Topics
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online