# CVE-2026-0768: Langflow code Code Injection Remote Code Execution Vulnerability

- Severity: Critical 9.8 (CVSS:3.0, scored by zdi) `CVSS:3.0/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): 28.1%, higher than 98% of CVEs (2026-12-01)
- Published: 2026-01-23T03:28:43.301Z
- Modified: 2026-06-17T10:11:20.937Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: zdi

## Description

Langflow code Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the handling of the code parameter provided to the validate endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of root.
. Was ZDI-CAN-27322.

(As written by CVE List.)

## Affected

- Langflow Langflow: 1.4.2

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-26-034/> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-0768](https://www.cve.org/CVERecord?id=CVE-2026-0768), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2026-0768](https://nvd.nist.gov/vuln/detail/CVE-2026-0768), Public domain, modified 2026-06-17

---

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