CVE-2024-37014
Published: 10 June 2024
Summary
CVE-2024-37014 is a critical-severity Code Injection (CWE-94) vulnerability in Langflow Langflow. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 9.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
Langflow through version 0.6.19 is affected by a remote code execution vulnerability that stems from insufficient validation on the POST /api/v1/custom_component endpoint, which accepts and executes attacker-supplied Python scripts. The flaw is tracked under CWE-94 and carries a CVSS 3.1 base score of 9.8, reflecting network-accessible exploitation with no required credentials or user interaction.
An unauthenticated attacker who can reach the endpoint can submit a crafted Python script that results in arbitrary code execution with the privileges of the Langflow process, potentially leading to full compromise of the host system including confidentiality, integrity, and availability impacts.
The EPSS score for this CVE has stayed low, with a current value of 0.0596 and a recorded peak of only 0.0650. Public references point to GitHub issue discussions but supply no additional mitigation details beyond the version constraint noted in the CVE description.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0213
Vulnerability details
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.