High

langflow has Unauthenticated IDOR on Image Downloads

  • Disclosed: 20.03.2026
  • Updated: 11.10.2026 12:19

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

bash
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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) langflow >= 1.0.0, < 1.9.0 1.9.0

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-284, CWE-639, CWE-862
Platform
Python (PyPI)
Package
langflow
Disclosed
20.03.2026
Updated
11.10.2026 12:19

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-80 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-7grx-3xcx-2xv5 - CC BY 4.0

Vulnerability history: langflow

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (42) in the archive
Total entries
42
First → latest
06.2024 10.2026
Without a fix
7
Exploited in attacks
5

Severity breakdown

  • Critical 15
  • High 17
  • Medium 7
  • Low 3

Disclosures per year

  1. 2024: 4
  2. 2025: 5
  3. 2026: 33
Severity:
  1. Critical · 9.1 CVE-2026-9205 < 1.10.1 1.10.1
  2. Critical · 9.8 CVE-2026-8505 >= 1.7.0, < 1.9.1 1.9.1
  3. High · 8.8 CVE-2026-7700 >= 1.3.0, < 1.10.3 1.10.3
  4. Critical · 9.6 CVE-2026-48519 < 1.9.2 1.9.2
  5. Critical · 9.6 CVE-2026-42048 < 1.9.0 1.9.0
  6. langflow has Unauthenticated IDOR on Image Downloads this entry
    High · 7.5 CVE-2026-33484 >= 1.0.0, < 1.9.0 1.9.0
  7. Critical · 9.9 CVE-2026-33309 >= 1.2.0, < 1.9.0 1.9.0
  8. Critical · 9.8 Exploited in attacks CVE-2026-33017 < 1.9.0 1.9.0
  9. Critical · 9.8 CVE-2026-27966 <= 1.8.0rc2 no fix
  10. High Exploited in attacks CVE-2026-0770 <= 1.7.3 no fix
  11. High · 7.7 CVE-2025-68477 < 1.7.1 1.7.1
  12. High · 7.1 CVE-2025-68478 < 1.7.1 1.7.1
  13. Critical Exploited in attacks CVE-2025-3248 < 1.3.0 1.3.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.