CVE-2026-6596: Langflow: DoS Through Lack of File Size Restriction via Deprecated Unauthenticated File Upload API
Langflow's deprecated upload endpoint /api/v1/upload/{flow_id} accepts files from unauthenticated users with no size limit, so a remote attacker can fill disk or memory and cause denial of service. The fix adds authentication and a size check. The data lists langflow-base 0.9.1 as patched, while the advisory text says Langflow up to 1.1.0.
Published Apr 20, 2026 · Updated Jun 18, 2026 · Analysis Oct 29, 2026
What an attacker can do
The function create_upload_file in src/backend/base/Langflow/api/v1/endpoints.py handles uploads for the deprecated route. Before the fix it required no login and did not check the upload size. An attacker who can reach the Langflow API sends large files to any known flow id, and the server stores or buffers them until it runs out of resources. The weakness is filed as CWE-284, improper access control.
The CVSS 3.1 score of 7.3 counts low impact on confidentiality, integrity and availability, with no privileges and no user interaction. The title of the GitHub advisory frames the main result as denial of service. The advisory says a public exploit exists and the vendor did not answer the reporter. Teams that expose Langflow to the internet, or to a wide internal network, carry the most risk. Langflow often holds model API keys, so an outage or a disk-full state can disrupt every flow that depends on it.
Who is affected
The data lists langflow-base before 0.9.1 as vulnerable. The advisory text describes the issue as affecting Langflow up to 1.1.0. These version lines come from different sources, so check both packages:
pip show langflow langflow-baseAny deployment that serves the deprecated /api/v1/upload/{flow_id} route without a gateway in front is exposed.
langflow-base
- Ecosystem
- PyPI
- Affected
- < 0.9.1
- Fixed in
- 0.9.1
- Check
pip show langflow-base
How to fix it
Upgrade langflow-base to 0.9.1 or later, and move to a current Langflow release:
pip install --upgrade langflow-base langflowThe fix commit makes the deprecated endpoint reuse the get_flow dependency, so callers must be authenticated and own the flow. It also returns HTTP 413 when an upload exceeds max_file_size_upload, matching /api/v1/files/upload/{flow_id}. SDK callers of the lfx upload helpers now need an api_key or the LANGFLOW_API_KEY environment variable. As a stopgap, block the deprecated route at your reverse proxy and cap request body sizes there.
How to tell if you were hit
Search access logs for POST requests to /api/v1/upload/ from unauthenticated or unknown clients, especially large bodies or repeated requests. Watch disk usage on the Langflow host and its upload or cache directory. After the fix, oversized uploads return HTTP 413 and unauthenticated calls are refused.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to ventusfortis.
Questions
- Does CVE-2026-6596 need authentication?
Not before the fix. The deprecated /api/v1/upload/{flow_id} route had no authentication. The fix commit now requires an authenticated user who owns the flow.
- Is there a public exploit?
The advisory text says the exploit has been released to the public and may be used for attacks. It does not say it is exploited in the wild, and the record has no CISA KEV data.
- Which version fixes it?
The data lists langflow-base 0.9.1 as patched. The advisory text mentions Langflow up to 1.1.0. Use the latest release of both packages to be safe.
- Will upgrading break my upload scripts?
Possibly. Callers of the deprecated endpoint must now authenticate. The lfx helpers accept an api_key or read LANGFLOW_API_KEY.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Langflow vulnerabilities
All Langflow entriesCVE-2026-105697
Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
critical9.9Oct 7, 2026CVE-2026-105698
Langflow : Cross-user flow access and vertex execution via deprecated /api/v1/build/{flow_id}/vertices endpoints
medium5.4Oct 7, 2026CVE-2026-105699
Langflow has Authenticated Cross-Project File Disclosure via Unscoped MCP Resource Handlers
high7.1Oct 7, 2026CVE-2026-105741
Langflow: IP Spoofing Bypass via `X-Forwarded-For` Allowing Remote Configuration Write
high7.1Oct 7, 2026CVE-2026-10561
Langflow: PythonREPLComponent executes unsandboxed Python code, enabling authenticated RCE and privilege escalation
critical9.9Oct 6, 2026GHSA-j8f7-x8jm-wmm4
Langflow: SSRF in URL-taking components (protection disabled by default / warn-only, not applied to RSS, SearXNG, Web Search, Home Assistant, Glean, Docling)
medium6.3Oct 6, 2026
