SB2026080727 - Remote code execution in Langflow
Published: August 7, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Code Injection (CVE-ID: CVE-2026-9198) Exploited
CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')
CVSSv4: 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]
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 update from vendor's website.