{"id":"CVE-2026-12940","published":"2026-07-30T16:41:54Z","modified":"2026-07-31T03:56:16Z","title":"Langflow is affected by remote code execution due to multiple unauthenticated and insufficiently authorized API…","vendor":"IBM","product":"Langflow OSS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00943,"percentile":0.6189,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://www.ibm.com/support/pages/node/7279995","tags":["vendor-advisory","patch"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":12.38},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-03","earliestUrl":"https://github.com/BiiTts/CVE-2026-12940-Langflow-Unauth-RCE","repos":[{"name":"BiiTts/CVE-2026-12940-Langflow-Unauth-RCE","url":"https://github.com/BiiTts/CVE-2026-12940-Langflow-Unauth-RCE","stars":4,"created":"2026-08-03"}]},"first":{"date":"2026-08-03","source":"PoC-in-GitHub","url":"https://github.com/BiiTts/CVE-2026-12940-Langflow-Unauth-RCE"},"provenance":"source"},"vendorSlug":"ibm","affectedVersions":[{"vendor":"IBM","product":"Langflow OSS","versions":[">= 1.0.0, <= 1.10.1"]}],"solutions":{"items":["IBM strongly recommends addressing the vulnerability now by upgrading Langflow OSS to version 1.10.2 https://pypi.org/project/langflow/"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-30T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-51240","exploited":false,"provenance":"source"}}