criticalCVSS 9.8NVD status: Analyzed

CVE-2026-0768

Langflow code Code Injection Remote Code Execution Vulnerability.

ComponentLangflow
Severitycritical (CVSS 9.8)
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published (NVD)2026-01-23
Last modified2026-06-17
Affected versions
langflow = 1.4.2
Fixed insee the vendor advisory
WeaknessCWE-94
CISA KEVnot listed

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

Does CVE-2026-0768 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for Langflow.
Check my stack

What to do

  • NVD lists no fixed version yet: follow the vendor advisory below and keep Langflow off the public internet until a fix ships.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more

Other Langflow CVEs

All Langflow CVEs