Executive brief
IBM Langflow OSS, a tool used for building and testing AI applications, contains a security flaw that allows registered users to run unauthorized commands on the underlying server. An attacker could use this to steal sensitive credentials, access private files, or gain full control over the system. This could lead to a complete compromise of the AI development environment and potential movement into other parts of the corporate network.
Technical details
A code injection vulnerability (CWE-94) exists in the code validation endpoint of IBM Langflow OSS. The flaw is rooted in the validation logic which compiled and executed function definitions to check for import errors. Specifically, attackers can exploit Python's default argument evaluation mechanism to trigger code execution during the validation process, even if the function itself is never called. This allows an authenticated user with network access to the endpoint to execute arbitrary OS commands and access sensitive files. The vulnerability is remediated in version 1.10.1 by switching to compile-only validation and removing the execution step.
Affected products
- IBM Langflow OSS 1.0.0-1.10.0
Timeline
- 2026-06-29: advisory: Initial publication by IBM
- 2026-06-30: disclosed: NVD publication date
- 2026-06-29: patched: Remediation version 1.10.1 released