Skip to main content

Langflow CVE-2026-6596

| EUVDEUVD-2026-23745 MEDIUM
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-04-20 VulDB GHSA-vvfc-fp59-m92g
5.5
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify exposed Langflow API endpoint
  2. Delivery
    Craft malicious file upload request
  3. Exploit
    POST to /api/v1/create_upload_file
  4. Install
    Upload malicious .py file
  5. C2
    Trigger execution via workflow or direct access
  6. Execute
    Execute arbitrary code as application user
  7. Impact
    Establish 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

langflow 1.0
langflow 1.1.0

Affected Packages

pypi langflow-base fix: 0.9.1
euvd langflow no fix

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

NVD PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Severity Changed
Apr 20, 2026 - 03:22 NVD
HIGH MEDIUM
CVSS changed
Apr 20, 2026 - 03:22 NVD
7.3 (HIGH) 6.9 (MEDIUM)
CVE Published
Apr 20, 2026 - 02:15 nvd
MEDIUM 5.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 89% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

CVE-2025-3248 CRITICAL POC
9.8 Apr 07

Langflow before 1.3.0 allows unauthenticated remote code injection through the /api/v1/validate/code endpoint, enabling

CVE-2026-0770 CRITICAL POC
9.8 Jan 23

Langflow has a third RCE vulnerability via exec_globals (EPSS 10.0%) allowing inclusion of untrusted code that executes

CVE-2025-34291 CRITICAL POC
9.4 Dec 05

Account takeover and remote code execution in Langflow AI workflow platform versions ≤1.6.9 due to a CORS misconfigurati

CVE-2026-0768 CRITICAL POC
9.8 Jan 23

Langflow has a code injection vulnerability in the code component (EPSS 2.6%) enabling remote code execution through the

CVE-2026-0769 CRITICAL POC
9.8 Jan 23

Langflow has an eval injection in eval_custom_component_code (EPSS 2.0%) enabling remote code execution through crafted

CVE-2026-10134 CRITICAL POC
10.0 Jun 30

Remote code execution in IBM Langflow OSS 1.0.0 through 1.9.3 lets an unauthenticated attacker inject and run arbitrary

CVE-2026-27966 CRITICAL POC
9.8 Feb 26

Code injection in Langflow CSV Agent node before 1.8.0. The node hardcodes allow_dangerous_code=True, enabling arbitrary

CVE-2024-37014 CRITICAL POC
9.8 Jun 10

Langflow through 0.6.19 allows remote code execution if untrusted users are able to reach the "POST /api/v1/custom_compo

CVE-2026-105697 CRITICAL POC
9.9 Oct 05

OS command injection in Langflow's MCP stdio transport allows an attacker who can reach the MCP server configuration end

CVE-2024-48061 CRITICAL POC
9.8 Nov 04

langflow <=1.0.18 is vulnerable to Remote Code Execution (RCE) as any component provided the code functionality and the

CVE-2024-42835 CRITICAL POC
9.8 Oct 31

langflow v1.0.12 was discovered to contain a remote code execution (RCE) vulnerability via the PythonCodeTool component.

CVE-2026-21445 CRITICAL POC
9.1 Jan 02

Langflow before 1.7.0.dev45 exposes multiple API endpoints without authentication, allowing unauthenticated access to us

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy