Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Langflow HTTP port (no auth)
-
DeliveryPOST large file to /api/v1/upload/{arbitrary-uuid}
-
ExploitServer writes file to cache, returns absolute path
-
ExecutionRepeat to exhaust disk
-
ImpactDenial of service plus cache-path information leak
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery 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 beyond network reachability - remote unauthenticated exploitation against default configurations of Langflow before 1.9.1: the deprecated POST /api/v1/upload/{flow_id} endpoint requires no authentication, accepts any arbitrary (unvalidated) flow_id UUID, and enforces no file-size limit. The only limiting factor is network exposure of the Langflow HTTP service (default port 7860) to the attacker; instances placed behind an authenticating reverse proxy, VPN, or network ACL are not reachable, and once upgraded to 1.9.1 the route requires an authenticated user who owns the referenced flow. |
| Impact | The published CVSS is 9.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H), and the vector is internally consistent with the description: fully remote, no privileges, no user interaction, a low-confidentiality path leak, and a high-availability disk-exhaustion outcome; the S:C (scope change) is defensible because filling the host filesystem affects components beyond the Langflow process. Corroborating signals are mixed in a way worth weighing: SSVC lists exploitation as 'poc', automatable 'yes', and technical impact 'partial', and a working PoC is public, yet EPSS is only 0.31% (22nd percentile) and the CVE is not in CISA KEV - so this is a real, easily-triggered exposure but not evidence of mass active exploitation. The practical severity hinges on deployment: a Langflow instance exposed to the internet or a shared network with no upstream auth proxy is genuinely at risk of trivial DoS, while an instance already behind SSO/network isolation is far less exposed. The 9.3 rating slightly overstates typical enterprise risk because DoS-by-disk-fill is recoverable and the confidentiality impact is limited to path disclosure, but the zero-effort exploitability means operators running exposed instances should patch promptly rather than deprioritize on the low EPSS alone. |
| Exploit ScenarioDerived | An attacker who can reach a Langflow server's HTTP port runs a single unauthenticated curl command (curl 'http://target:7860/api/v1/upload/11111111-1111-1111-1111-111111111111' -F 'file=@big.bin') with an arbitrary UUID, repeatedly streaming large files to exhaust the server's disk and cause denial of service. Each response also returns the absolute cache path, revealing the host username and directory layout that can aid further attacks. A public PoC exists, and no authentication, prior knowledge, or user interaction is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Unauthenticated file upload in Langflow before 1.9.1 lets any network-reachable attacker POST arbitrary files to the deprecated /api/v1/upload/{flow_id} endpoint with no credentials, no flow_id validation, and no size limit, enabling disk exhaustion (denial of service) and leaking the server's absolute cache path in the JSON response. Publicly available proof-of-concept exists (a single curl command), SSVC rates it automatable with partial technical impact, but there is no public exploit identified as actively used in the wild and EPSS is low at 0.31%.
RemediationAI
Vendor-released patch: upgrade to Langflow 1.9.1 or later, which adds the get_flow dependency (requiring an authenticated user and flow ownership, returning 404 for missing or cross-user flows) and enforces the max_file_size_upload limit with HTTP 413 on the deprecated /api/v1/upload/{flow_id} route (PR #12831). If you cannot upgrade immediately, place Langflow behind an authenticating reverse proxy or network ACL so the /api/v1/upload/ path is not reachable by unauthenticated clients, or block/deny the deprecated POST /api/v1/upload/{flow_id} endpoint at the proxy while permitting the authenticated twin at /api/v1/files/upload/{flow_id}; the trade-off is that any legacy client or SDK caller relying on the deprecated route will break until updated to send an API key. Also apply filesystem quotas or a dedicated cache partition to bound disk-exhaustion damage, and monitor the cache directory growth. Note that even after patching, the response still returns the absolute file_path, so it is disclosed only to the authenticated flow owner. See https://github.com/langflow-ai/langflow/security/advisories/GHSA-x223-p2gf-v735.
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) visual builder for LLM/agent workflows, distributed as the PyPI package langflow (pkg:pip/langflow) and typically self-hosted on port 7860. The flaw lives in langflow/api/v1/endpoints.py, where create_upload_file is declared with only a file and a flow_id UUID path parameter and no authentication dependency and no ownership check - unlike the non-deprecated twin at /api/v1/files/upload/{flow_id}. It calls save_uploaded_file(file, folder_name=flow_id_str), which streams the body to the local filesystem cache without enforcing max_file_size_upload. The CWE-200 (Information Exposure) classification captures the returned absolute file_path (e.g. /Users/ori/Library/Caches/langflow/...), which reveals the OS user, install layout, and cache directory; however the higher-order impact is uncontrolled resource consumption from unbounded writes, which the CVSS vector reflects as A:H.
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:C/C:L/I:N/A:H
Remote, unauthenticated, no interaction (AV:N/AC:L/PR:N/UI:N); disk-exhaustion DoS gives A:H and affects the host beyond the app (S:C); path leak is C:L; no integrity impact (I:N).
Primary rating from Vendor (https://github.com/langflow-ai/langflow).
CVSS VectorVendor: https://github.com/langflow-ai/langflow
DescriptionCVE.org
Summary
Unauthenticated users can upload any amount of data to the server without any limitations. No need for any prior knowledge, only network access to Langflow.
This can lead to space exhaustion on the server.
In adition, in the response, the absolute path of the uploaded file is reported to the attacker, which is an information leak that can assist in chaining other primitives.
Tested on commit 2d67402b1dbaefcbce85a244d4a6cd5e4bda1cfe
Details
Code is in langflow/api/v1/endpoints.py:
@router.post(
"/upload/{flow_id}",
status_code=HTTPStatus.CREATED,
deprecated=True,
)
async def create_upload_file(
file: UploadFile,
flow_id: UUID,
) -> UploadFileResponse:
...As can be seen above, there is no authentication. There is not validation over flow_id as well, unlike other endpoints:
flow_id_str = str(flow_id)
file_path = await asyncio.to_thread(save_uploaded_file, file, folder_name=flow_id_str)Function save_uploaded_file saves the file to local file-system. Suggested fix:
- Add authentication to route.
- Only return relative path or filename.
PoC
PoC:
curl 'http://localhost:7860/api/v1/upload/<any_uuid>' -F "file=@<any_file>"Example:
# curl 'http://localhost:7860/api/v1/upload/11111111-1111-1111-1111-111111111111' -F "file=@/tmp/dummy.txt"
{"flowId":"11111111-1111-1111-1111-111111111111","file_path":"/Users/ori/Library/Caches/langflow/11111111-1111-1111-1111-111111111111/9d63c3b5b7623d1fa3dc7fd1547313b9546c6d0fbbb6773a420613b7a17995c8.txt"}Impact
- Space exhaustion on server that can lead to Denial-of-Service.
- Information leak - leakage of absolute path of langflow's cache directory in server.
Patches
Fixed in 1.9.1 via PR #12831. The deprecated POST /api/v1/upload/{flow_id} endpoint now uses the get_flow dependency, requiring an authenticated user and flow ownership (returns 404 for missing or cross-user flows), and enforces the max_file_size_upload limit (HTTP 413) - closing the unauthenticated upload and disk-exhaustion vectors. Upgrade to 1.9.1 or later.
Note: the response still returns the file's absolute path (file_path); after this fix it is only disclosed to the authenticated owner of the flow.
Ori Lahav Security Researcher @ Rubrik Inc.
Executive ViewAI
Langflow deployments before version 1.9.1 can be disrupted by any attacker with network access, who can fill the server's storage and force service outages without needing valid credentials. Additionally, attackers can extract internal server path information. This vulnerability affects all networked Langflow instances and requires immediate patching.
Apply vendor patch: Langflow 1.9.1 or later. Interim mitigation if patching cannot be completed within 7 days: restrict network access to the /api/v1/upload/{flow_id} endpoint from untrusted sources.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-38511
GHSA-x223-p2gf-v735
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB