langflow has Unauthenticated IDOR on Image Downloads
High7.5CVE-2026-33484 · Published Mar 20, 2026 · updated Jun 6, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| langflow PyPI | >= 1.0.0, < 1.9.0 | 1.9.0 |
Details and references
### 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.
More Langflow advisories
All Langflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 19 | Langflow has an Arbitrary File Write (RCE) via v2 API CVE-2026-33309Critical9.9fixed in 1.9.0 | Critical9.9 | 1.9.0 |
| Mar 20 | langflow: /profile_pictures/{folder_name}/{file_name} endpoint file reading CVE-2026-33497Highfixed in 1.7.1 | High | 1.7.1 |
| Mar 18 | Langflow is Missing Ownership Verification in API Key Deletion (IDOR) CVE-2026-33053Highfixed in 1.9.0 | High | 1.9.0 |
| Mar 17 | Unauthenticated Remote Code Execution in Langflow via Public Flow Build Endpoint CVE-2026-33017Critical9.8fixed in 1.9.0 | Critical9.8 | 1.9.0 |
| Mar 26 | Langflow has Authenticated Code Execution in Agentic Assistant Validation CVE-2026-33873Criticalfixed in 1.9.0 | Critical | 1.9.0 |
| Mar 27 | Langflow: Authenticated Users Can Read, Modify, and Delete Any Flow via Missing Ownership Check CVE-2026-34046Highfixed in 1.5.1 | High | 1.5.1 |