Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · Langflow

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

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

Summary The /api/v1/files/images/{flowid}/{filename} endpoint serves image files without any authentication or ownership check. Any unauthenticated request with a known flowid and filename returns the image with HTTP 200. Details src/backend/base/langflow/api/v1/files.py:138-164 — downloadimage takes flowid: UUID as a bare path parameter with no Depends(getflow) or CurrentActiveUser.

Published Mar 20, 2026 · Updated Jun 6, 2026

Affected packages

langflow

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

Advisory details

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.

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. No analysis has been written for this entry yet. Methodology

More Langflow vulnerabilities

All Langflow entries