Disclosed weakness · no CVE recorded

Langflow parsed upload bodies before checking access

Langflow · Langflow v1 flow file uploads

First documented disclosure · Review checkpoint

Summary

Unauthorized upload callers could cause body reading and multipart processing before rejection.

Severity and exploitation evidence

No CVSS score recorded in this review.

Exploitation not established: The reviewed originals establish a reported weakness or correction, not malicious exploitation or identified victims. Controlled tests remain attributed to their authors; no product, model or proof of concept was executed in this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

A pre-authentication boundary middleware read the request body and a declared UploadFile made FastAPI parse the form before authentication dependencies. The correction performs authentication and flow WRITE checks before either step.

Conditions required

A caller can reach the v1 flow file-upload route; successful file storage still requires permission. Configured size limits and upstream controls bound exposure.

Potential impact

Unnecessary server memory and parsing work before authentication or authorization. The source does not establish an unauthorized file write or quantify a successful denial-of-service attack.

Affected versions and configurations

Exact introduction and complete affected release range are not disclosed.

Fix and mitigation status

Langflow 1.13.5 contains PR 16590 and moves body processing after authentication and flow permission checks.

Practical next steps

Update and retain request-size and network access limits for file-upload routes.

Operating lesson

Reject unauthorized callers before consuming costly request bodies.

Evidence and limits

The full public pull request, corrective production diff and 1.13.5 tagged source were reviewed. Maintainer test results were not repeated. No CVE, numeric severity or malicious exploitation is established. The release date does not reset the original public report date.

Sources