← AI CVE Database

CVE-2026-0768: Langflow Code-Validation Endpoint RCE

Severity:
Critical
CVSS Score:
9.8
Patch Status:
Unpatched
Exploitation Status:
Active Exploitation
Disclosure Date:
January 9, 2026

Technical Detail

CWE-94: Code Injection. The custom-component code validator (POST /api/v1/validate/code) passes the user-supplied code parameter to Python execution without validation. Where the endpoint is reachable without authentication, an attacker can run arbitrary code with the privileges of the Langflow process (root on many deployments).

ZDI received the report in July 2025 and published it as a zero-day (ZDI-26-034) on January 9, 2026 after vendor non-response. In-the-wild exploitation began August 29-30, 2026 (VulnCheck honeypots; F5 Labs later recorded 405 requests from 55 IPs). Observed post-exploitation activity: harvesting Langflow, OpenAI and AWS credentials from environment variables. A Metasploit module was merged October 8, 2026.

Verification notes (Nov 11, 2026): CVE-2026-0768 is on VulnCheck's KEV list but is not on the CISA KEV catalog. No authoritative fixed version is published: ZDI names none and the GitHub advisory lists no range. Some aggregator pages still state that no exploitation is confirmed; they predate the August 2026 reporting. Treat any release older than current as exposed.

Plain-Language Explainer

Langflow lets people build AI applications by dragging and connecting blocks, including a "test my code" button for custom pieces. That test feature actually ran the submitted code instead of just checking it, and on many installations anyone on the internet could use it, with no login, to run their own commands on the server and steal API keys and cloud credentials sitting in its environment.

Affected Systems / Models

Langflow, the open-source low-code platform for building LLM/AI applications and agent workflows. Public records identify versions through 1.4.2 as affected; sourced reporting notes the affected-version range and confirmed fixed version are not consistently documented across advisories. Endpoint: unauthenticated POST /api/v1/validate/code (custom component code validator).

Source References

Currency Verification:
Verified
November 11, 2026
← Back to all AI CVEs