# CVE-2026-12940: Langflow is affected by remote code execution due to multiple unauthenticated and insufficiently authorized API endpoints

- Severity: Critical 9.8 (CVSS:3.1, scored by ibm) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-02)
- Published: 2026-07-30T16:41:54.216Z
- Modified: 2026-10-23T22:10:00.160Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: ibm

## 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.

(As written by CVE List.)

## Affected

- IBM Langflow OSS: from 1.0.0 up to 1.10.1
- langflow langflow: from 1.0.0 before 1.10.2

## References

- <https://www.ibm.com/support/pages/node/7279995> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-12940](https://www.cve.org/CVERecord?id=CVE-2026-12940), CVE Terms of Use, modified 2026-07-31
- NVD: [CVE-2026-12940](https://nvd.nist.gov/vuln/detail/CVE-2026-12940), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-12940 · Whole record: https://cve.day/CVE-2026-12940.json · Rebuilt by cve.day 2026-11-25T22:59:30.643Z
