CVE-2026-0768CWE-94

Langflow code Code Injection Remote Code Execution Vulnerability

Critical · published January 23, 2026

CVSS v3.0
9.8
EPSS
23%
Percentile
97.7
In the wild
Unconfirmed
What it is

🚨 A crafty attacker just needs to send a specially crafted string to execute any Python code on your Langflow installation! 🔥 It's like leaving the backdoor of your house wide open with a note that says 'Please come in!' An attacker could just waltz in and do whatever they please, no invitation required! With this vulnerability, an attacker could gain full control over your system, executing arbitrary code as root. Imagine a thief ransacking your home, changing the locks, and making themselves at home! This could lead to data theft, system manipulation, or worse—catastrophic damage to your environment.

Put simply

It's like leaving the backdoor of your house wide open with a note that says 'Please come in!' An attacker could just waltz in and do whatever they please, no invitation required! The vulnerability stems from inadequate validation of the 'code' parameter in the validate endpoint, allowing attackers to run arbitrary Python code without any authentication required.

What to do

With this vulnerability, an attacker could gain full control over your system, executing arbitrary code as root. Imagine a thief ransacking your home, changing the locks, and making themselves at home! This could lead to data theft, system manipulation, or worse—catastrophic damage to your environment. Patch your Langflow installation immediately to the latest version. Review the code handling mechanisms to ensure user input is thoroughly validated before execution. Implement strong access controls to protect sensitive endpoints. You've got this! Follow these steps and you'll lock down your Langflow setup in no time! 🛡️

The record
Technical detail
CVSS v3.0
9.8 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.22915 · 97.7th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-01-23T03:28Z
EPSS history
Timeline
  • 11 OCT 03:27Z
    EPSS moved 8% → 23%
    epss
  • 10 OCT 03:27Z
    EPSS moved 8% → 23%
    epss
  • 23 JAN 03:28Z
    Langflow code Code Injection Remote Code Execution Vulnerability
    cvelistv5