AgentbeamBeta
AI agent vulnerability · Langflow

CVE-2026-33484: langflow has Unauthenticated IDOR on Image Downloads

highCVSS 3.1 7.5GHSA-7grx-3xcx-2xv5

Langflow 1.0.0 through 1.8.1 serves uploaded images at GET /api/v1/files/images/{flow_id}/{file_name} with no authentication or ownership check. Anyone who knows a flow UUID and file name can download the image. Fixed in Langflow 1.9.0.

Published Mar 20, 2026 · Updated Jun 6, 2026 · Analysis Nov 7, 2026

What an attacker can do

The download_image handler in src/backend/base/langflow/api/v1/files.py takes flow_id from the path and never checks who is asking or who owns the flow. Other file routes use Depends(get_flow), which enforces both. The advisory notes there is no global auth middleware on /api/v1, so each endpoint must protect itself, and this one does not.

The advisory's proof of concept is a request with no credentials that returns HTTP 200 and the image bytes. The attacker must know or guess a valid flow UUID and file name. The advisory says UUIDs can leak through other API responses.

The CVSS 3.1 score is 7.5 with confidentiality impact only. In a multi-tenant deployment, one customer's uploaded images can be read by another party, or by anyone on the internet if Langflow is exposed.

Who is affected

Langflow from 1.0.0 up to but not including 1.9.0. Check:

pip show langflow

Instances reachable by untrusted users, especially multi-tenant ones, are the exposed ones.

langflow

Ecosystem
PyPI
Affected
>= 1.0.0, < 1.9.0
Fixed in
1.9.0
Check
pip show langflow

How to fix it

Upgrade to Langflow 1.9.0 or later:

pip install --upgrade langflow

The advisory lists no workaround. As a stopgap, do not expose Langflow directly to the internet.

How to tell if you were hit

Search web server or proxy logs for GET requests to /api/v1/files/images/ that carry no auth header or session, or that come from addresses outside your users. Look for many requests walking through different flow IDs or file names.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

The /api/v1/files/images/{flow_id}/{file_name} endpoint serves image files without any authentication or ownership check. Any unauthenticated request with a known flow_id and file_name returns the image with HTTP 200.

Details

src/backend/base/langflow/api/v1/files.py:138-164 — download_image takes flow_id: UUID as a bare path parameter with no Depends(get_flow) or CurrentActiveUser. All other file routes (download_file, upload_file, list_files, delete_file) use Depends(get_flow) which enforces both authentication and ownership. There is no global auth middleware on /api/v1; protection is per-endpoint only.

PoC

curl -v "http://localhost:7860/api/v1/files/images/<flow_uuid>/<filename.png>"
# Returns HTTP 200 with image bytes, no auth header required

Impact

Unauthenticated cross-tenant data leak. In a multi-tenant deployment, any attacker who can discover or guess a flow_id (UUIDs can be leaked through other API responses) can download any user's uploaded images without credentials.

Credited to akshatgit, abhinavagarwal07, andifilhohub.

Questions

Does CVE-2026-33484 require login?

No. The request needs no credentials. The attacker needs a valid flow UUID and file name.

Can the attacker change data?

No. The advisory describes only disclosure of uploaded images.

Which versions are affected?

1.0.0 through 1.8.1. Version 1.9.0 fixes it.

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 entries