Langflow · Langflow · CVE-2024-37014
**Name of the Vulnerable Software and Affected Versions**
Langflow versions 0.6.19 and earlier
**Description**
The issue allows remote code execution if untrusted users can reach the "POST /api/v1/custom component" endpoint and provide a Python script.
**Recommendations**
For Langflow versions 0.6.19 and earlier, as a temporary workaround, consider disabling access to the "POST /api/v1/custom component" endpoint until a patch is available. Restrict access to this endpoint to minimize the risk of exploitation. Avoid allowing untrusted users to provide Python scripts via this endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.