Langflow through 0.6.19 allows remote code execution if untrusted users are able to reach the "POST /api/v1/custom_component" endpoint and provide a Python script.
Date: 2024-06
Affected: langflow/langflow
Attack vector: rce
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2024-37014
CWE: CWE-94
CVSS: 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

Langflow through 0.6.19 allows remote code execution if untrusted users are able to reach the "POST /api/v1/custom_component" endpoint and provide a Python script.


Mitigations:

Architectural layers (MAESTRO):