Langflow patched unauthenticated file upload in deprecated API endpoint
Langflow disclosed and fixed a vulnerability in the deprecated POST /api/v1/upload/{flow_id} endpoint that allowed unauthenticated users to upload arbitrary amounts of data without effective access control or flow validation. The flaw exposed affected servers to disk space exhaustion and denial-of-service, and the API response also revealed the absolute filesystem path of uploaded files. The issue was demonstrated against commit 2d67402 using any UUID as flow_id, showing that attackers could write data into a flow cache folder even without authorization.
The fix was merged through PR #12831 and released in Langflow 1.9.1, reusing the existing get_flow dependency to require authentication and verify flow ownership on the deprecated route. Maintainers also added file-size enforcement so oversized uploads now return HTTP 413, updated SDK helpers to support API-key authentication, and added regression tests covering unauthenticated rejection, authenticated uploads, oversized file handling, and 401 responses. After the patch, absolute file paths may still be returned, but only to the authenticated owner of the flow.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
2 events from the most recent confirmed update back to the earliest known activity.
GitHub advisory discloses Langflow upload DoS and path leak flaw
A GitHub security advisory disclosed that Langflow's deprecated upload endpoint allowed unauthenticated arbitrary data uploads, enabling disk space exhaustion and denial-of-service, while also leaking the absolute filesystem path of uploaded files in API responses. The advisory states the issue was fixed in Langflow version 1.9.1 through PR #12831.
Langflow merges auth fix for deprecated upload endpoint
Langflow merged PR #12831 into release-1.9.1 to secure the deprecated `/api/v1/upload/{flow_id}` endpoint by enforcing authentication and flow-ownership checks. The changes also added file size enforcement, SDK updates for API-key authentication, and regression tests.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
3 references tracked. Mallory keeps watching after this page renders.
Langflow File Upload Flaw: PoC and DoS Details Public
securityonline.info
Open sourceUnauthenticated file upload leads to DoS (space exhaustion) and information leak · Advisory · langflow-ai/langflow · GitHub
github.com
Open sourcefix(security): require auth on deprecated /api/v1/upload/{flow_id} by erichare · Pull Request #12831 · langflow-ai/langflow · GitHub
github.com
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


