Browse / Tool and Agent Misuse / CVE-2024-48061
Langflow vulnerable to remote code execution
- Class
- Tool and Agent Misuse (filed by a model that read the advisory)
- Technique
- Code and command execution
- Affected
- langflow (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.5% chance of exploitation in 30 days
How it works, in short
Langflow components run user-supplied code directly on the host rather than in a sandbox, allowing arbitrary command execution. (Our summary, written by a model. The source text is below.)
Details
langflow <=1.0.18 is vulnerable to Remote Code Execution (RCE) as any component provided the code functionality and the components run on the local machine rather than in a sandbox.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-48061
- https://github.com/langflow-ai/langflow/issues/696
- https://gist.github.com/AfterSnows/1e58257867002462923fd62dde2b5d61
- https://github.com/langflow-ai/langflow
- https://rumbling-slice-eb0.notion.site/There-is-a-Remote-Code-Execution-RCE-vulnerability-in-the-repository-https-github-com-langflow-a-105e3cda9e8c800fac92f1b571bd40d8
Source: GitHub Advisory Database, used under CC BY 4.0.