ID:12972 - Exploit for Code Injection in Langflow - CVE-2026-9198

 
Main Vulnerability Database Exploits ID:12972 - Exploit for Code Injection in Langflow - CVE-2026-9198

ID:12972 - Exploit for Code Injection in Langflow - CVE-2026-9198

Published: August 21, 2026


Vulnerability identifier: #VU141234
Vulnerability risk: Critical
CVE-ID: CVE-2026-9198
CWE-ID: CWE-94
Exploitation vector: Remote access
Vulnerable software:
Langflow

Link to public exploit:


Vulnerability description

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.


Remediation

Install security update from vendor's website.