CVE-2024-37014: langflow · Code Injection
Affects langflowSource CVE Database V5
Not known to be exploited · public detection template (Nuclei) · 63% EPSS · CVSS 8.8 High.
Data as of 26 Oct 2026, 12:54 UTC
- EPSS
- 63.6% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Jun 2024
Detectable: evidence found.
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHublangflow-ai/langflowpkg:github/langflow-ai/langflowOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-37014, organizations should immediately restrict access to the /api/v1/custom_component endpoint to trusted users only, ideally limiting it to internal networks or VPNs. Implement strong authentication and authorization controls to ensure only fully trusted administrators can submit custom components. Employ input validation and sanitization to prevent execution of arbitrary code, or disable the ability to upload or execute custom Python scripts if not required. Use application-layer firewalls or API gateways to monitor and block suspicious requests targeting this endpoint. Until official patches are available, consider deploying runtime application self-protection (RASP) or sandboxing techniques to isolate execution of user-supplied scripts. Regularly audit logs for unusual activity related to custom component submissions. Finally, stay updated with Langflow vendor advisories and apply patches promptly once released.
Description
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.