Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify exposed Langflow API endpoint
-
DeliveryCraft malicious file upload request
-
ExploitPOST to /api/v1/create_upload_file
-
InstallUpload malicious .py file
-
C2Trigger execution via workflow or direct access
-
ExecuteExecute arbitrary code as application user
-
ImpactEstablish persistence or exfiltrate data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions-remote unauthenticated exploitation against default configurations of Langflow API v1 up to version 1.1.0. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms network-based attack requiring no authentication, low complexity, and no user interaction. Exploitation is limited only by network accessibility to the Langflow API endpoint (/api/v1/endpoints.py routes). Organizations that have deployed Langflow with API endpoints exposed to the internet, internal networks, or cloud environments without additional authentication layers (OAuth, API keys, VPN) are immediately vulnerable. No specific Langflow configuration setting, feature toggle, or deployment mode is required-the vulnerability exists in default API endpoint behavior. |
| Impact | Real-world risk is HIGH despite the 7.3 CVSS score. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms this is remotely exploitable with no authentication, low complexity, and no user interaction-the most dangerous attack surface. The E:P (Proof-of-concept Exploit) temporal metric and confirmed public exploit code on GitHub GIST significantly lower the barrier to exploitation. SSVC factors indicate high priority: exploitation status is POC-available (one step below active exploitation), automatable (AV:N/PR:N suggests scriptable attack), and technical impact spans confidentiality/integrity/availability (C:L/I:L/A:L-likely underestimated given file upload typically enables full compromise). Vendor non-responsiveness is a critical red flag-no patch timeline, no workaround guidance, no acknowledgment. For organizations running Langflow in production or accessible environments, this is an immediate patching/mitigation priority. The 'low' CIA impact ratings may reflect theoretical modeling, but practical unrestricted upload attacks routinely achieve full system compromise via web shell deployment or code execution. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a crafted HTTP POST request to the Langflow API endpoint (e.g., https://target.com/api/v1/create_upload_file) containing a malicious Python file disguised with a benign filename or MIME type. The create_upload_file function accepts and stores the file in a web-accessible or executable directory without validating content or extension. The attacker then triggers execution by either accessing the uploaded file via HTTP (if stored in webroot) or invoking it through Langflow's workflow execution features, achieving remote code execution as the application user. Public POC code exists demonstrating this attack chain. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Unrestricted file upload in Langflow (langflow-ai) versions up to 1.1.0 allows remote unauthenticated attackers to upload arbitrary files via the create_upload_file API endpoint, potentially leading to remote code execution, data manipulation, and service disruption. Publicly available exploit code exists (CVSS:3.1 E:P) with GIST-hosted POC, elevating immediate risk. Vendor unresponsive to disclosure at time of publication.
RemediationAI
No vendor-released patch is available at time of analysis (CVSS RL:X indicates vendor unresponsive). IMMEDIATE compensating controls required: (1) Block external access to /api/v1/endpoints.py routes or the entire Langflow API using firewall rules, reverse proxy ACLs (nginx/Apache), or API gateway policies-restricts attack surface but breaks legitimate API integrations. (2) Implement strict Content-Type validation and file extension allowlisting in a WAF or reverse proxy layer (e.g., ModSecurity rules blocking executable extensions: .py, .sh, .exe, .php)-may cause false positives for legitimate workflows requiring script uploads. (3) Deploy Langflow behind VPN or zero-trust access controls limiting access to authenticated users from known IP ranges-reduces usability for external integrations. (4) Monitor for unauthorized file creation in upload directories and web server logs for POST requests to create_upload_file endpoint. (5) Consider migrating to containerized deployment with read-only filesystem mounts for application code directories to prevent uploaded files from overwriting critical components-requires infrastructure changes. Exploit code available at https://gist.github.com/chenhouser2025/c2aabfdee41009cfe45d28a9924742a0 can inform detection signatures. Track langflow-ai GitHub repository for community patches or forks addressing CVE-2026-6596.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability exploits CWE-434 (unrestricted upload of file with dangerous type) in Langflow, an AI workflow and chatbot building framework. The flaw resides in the create_upload_file function within the API endpoint handler (src/backend/base/Langflow/api/v1/endpoints.py). Langflow's API likely lacks proper validation of file types, extensions, content inspection, or storage location controls during upload operations. The affected component is cpe:2.3:a:langflow-ai:langflow:*:*:*:*:*:*:*:* up to version 1.1.0. Unrestricted upload vulnerabilities in API endpoints commonly enable attackers to upload malicious scripts (Python .py files, shell scripts, web shells) that execute server-side, bypass authentication mechanisms, or overwrite critical application files. Given Langflow's Python-based backend, uploaded .py files could be executed in the application context if served from an executable directory or triggered by application logic.
Know when Langflow gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionCVE.org
A security flaw has been discovered in langflow-ai langflow up to 1.1.0. This issue affects the function create_upload_file of the file src/backend/base/Langflow/api/v1/endpoints.py of the component API Endpoint. The manipulation results in unrestricted upload. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Executive ViewAI
Langflow versions up to 1.1.0 contain an unauthenticated file upload vulnerability enabling remote code execution and data compromise without user credentials. This directly threatens any organization running vulnerable Langflow instances by allowing attackers to execute arbitrary code, manipulate data, and disrupt service availability; immediate isolation or upgrade is required.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to Langflow API endpoints using firewall or reverse proxy rules, allowing only internal/trusted IPs; (2) disable or restrict the create_upload_file endpoint if business logic permits; (3) implement request validation and file-type whitelisting at reverse proxy layer; (4) monitor upload activity for suspicious file types (.exe, .sh, .php); (5) monitor error logs and application behavior for signs of exploitation. These controls reduce but do not eliminate risk-upgrade remains mandatory.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Related Vulnerabilities in langflow-ai langflow Multiple Vulnerabilities
View all 5Langflow before 1.3.0 allows unauthenticated remote code injection through the /api/v1/validate/code endpoint, enabling
Langflow has a third RCE vulnerability via exec_globals (EPSS 10.0%) allowing inclusion of untrusted code that executes
Account takeover and remote code execution in Langflow AI workflow platform versions ≤1.6.9 due to a CORS misconfigurati
Langflow has a code injection vulnerability in the code component (EPSS 2.6%) enabling remote code execution through the
Langflow has an eval injection in eval_custom_component_code (EPSS 2.0%) enabling remote code execution through crafted
Remote code execution in IBM Langflow OSS 1.0.0 through 1.9.3 lets an unauthenticated attacker inject and run arbitrary
Code injection in Langflow CSV Agent node before 1.8.0. The node hardcodes allow_dangerous_code=True, enabling arbitrary
Langflow through 0.6.19 allows remote code execution if untrusted users are able to reach the "POST /api/v1/custom_compo
OS command injection in Langflow's MCP stdio transport allows an attacker who can reach the MCP server configuration end
langflow <=1.0.18 is vulnerable to Remote Code Execution (RCE) as any component provided the code functionality and the
langflow v1.0.12 was discovered to contain a remote code execution (RCE) vulnerability via the PythonCodeTool component.
Langflow before 1.7.0.dev45 exposes multiple API endpoints without authentication, allowing unauthenticated access to us
EUVD-2026-23745
GHSA-vvfc-fp59-m92g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB