Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
internet-facing-service-vulnerabilitywidely-deployed-product-advisorypatch-regression

Langflow patched unauthenticated file upload in deprecated API endpoint

Updated 7d agoFirst seen Jun 19, 20263 sources

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.

Share:
Langflow patched unauthenticated file upload in deprecated API endpoint
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

2 events from the most recent confirmed update back to the earliest known activity.

2 EVENTS
Jun 17, 20269d ago

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.

Unauthenticated file upload leads to DoS (space exhaustion) and information leak · Advisory · langflow-ai/langflow · GitHub
Apr 22, 20262mo ago

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.

fix(security): require auth on deprecated /api/v1/upload/{flow_id} by erichare · Pull Request #12831 · langflow-ai/langflow · GitHub
LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

7 LINKEDOpen in app
Affected products
1 linked
Langflow
Organizations
5 linked
LangflowGitHubSecurityOnline.infoAnthropicRubrik
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.

Langflow patched unauthenticated file upload in deprecated API endpoint | Mallory