Browse / MCP and Tool Server Flaws / CVE-2024-42835
langflow has vulnerability in PythonCodeTool component
- Class
- MCP and Tool Server Flaws (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.2% chance of exploitation in 30 days
How it works, in short
The PythonCodeTool component in Langflow lets remote callers run arbitrary Python through the tool integration. (Our summary, written by a model. The source text is below.)
Details
langflow v1.0.12 was discovered to contain a remote code execution (RCE) vulnerability via the PythonCodeTool component.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-42835
- https://github.com/langflow-ai/langflow/issues/2908
- https://github.com/langflow-ai/langflow
- https://github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2024-279.yaml
Source: GitHub Advisory Database, used under CC BY 4.0.