langflow is vulnerable to Code Injection
88
High Risk
The /api/v1/validate/code endpoint validates user-supplied Python by executing its function definitions in a restricted scope using exec(). Because Python evaluates decorators when a function definition executes, a request containing a function with a malicious decorator runs arbitrary code during validation. An authenticated user can send such a payload to obtain code execution with the privileges of the Langflow process. The fix compiles the code instead of executing it so decorators are never evaluated.
You are affected if you are using a version that falls within the vulnerable range.
langflow is vulnerable to Code Injection in versions 1.7.2 - 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.