Code Injection in Langflow - CVE-2026-9198

 

Code Injection in Langflow - CVE-2026-9198

Published: August 7, 2026


Vulnerability identifier: #VU141234
CSH Severity: Critical
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-9198
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper control of code generation in the /api/v1/validate/code endpoint when handling code submitted after obtaining a bearer token from /api/v1/auto_login. A remote attacker can obtain a superuser bearer token and submit malicious Python code to execute arbitrary code.

This affects default-configured instances where the auto-login feature is enabled and the validation endpoint is network-accessible.


Affected software

Langflow

How to mitigate CVE-2026-9198

Install security update from vendor's website.

Langflow - update to 1.10.1

External References

Related Security Bulletins