{"id":"CVE-2026-12940","details":"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.","modified":"2026-08-06T08:28:39.741012Z","published":"2026-07-30T17:16:28.040Z","references":[{"type":"ADVISORY","url":"https://www.ibm.com/support/pages/node/7279995"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/langflow-ai/langflow","events":[{"introduced":"24d9e86885b877ea3e9d03cbc50b963765489721"},{"fixed":"a69a47ff1b5c99ce9c50edc4df45de4397151f17"}],"database_specific":{"cpe":"cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.0.0"},{"fixed":"1.10.2"}],"source":"CPE_RANGE"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-12940.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}