Code Injection in Langflow - #VU142380

 

Code Injection in Langflow - #VU142380

Published: August 13, 2026


Vulnerability identifier: #VU142380
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper control of code generation in the validate_code function exposed through the /api/v1/validate/code endpoint when processing user-supplied Python function definitions with malicious decorators. A remote user can send a specially crafted POST request containing a malicious decorator to execute arbitrary code.

Instances configured with AUTO_LOGIN can be exposed to any user without a valid session.


Affected software

Langflow

Remediation

Install security update from vendor's website.

Langflow - update to 1.10.1

External References

Related Security Bulletins