langflow is vulnerable to Remote Code Execution (RCE)
98
Critical Risk
The /api/v1/validate/code endpoint feeds the caller-supplied code parameter into validate_code, which compiles and exec()s each function definition as part of validation. Executing a definition evaluates decorators and default-argument expressions at definition time, so crafted payloads run arbitrary Python in the Langflow process without the function ever being called. An attacker who can reach this endpoint can achieve remote code execution on the host. The fix validates by compiling only and no longer executes untrusted code on the validation path.
You are affected if you are using a version that falls within the vulnerable range and expose Langflow so that callers can reach the code validation endpoint.
langflow is vulnerable to Remote Code Execution (RCE) in versions 0.0.19 - 1.10.0.
Upgrade the langflow library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.