Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. directus
  4. ›
  5. CVE-2026-35412

CVE-2026-35412: Directus: TUS Upload Authorization Bypass Allows Arbitrary File Overwrite

April 4, 2026 (updated April 7, 2026)

Directus’ TUS resumable upload endpoint (/files/tus) allows any authenticated user with basic file upload permissions to overwrite arbitrary existing files by UUID. The TUS controller performs only collection-level authorization checks, verifying the user has some permission on directus_files, but never validates item-level access to the specific file being replaced. As a result, row-level permission rules (e.g., “users can only update their own files”) are completely bypassed via the TUS path while being correctly enforced on the standard REST upload path.

References

  • github.com/advisories/GHSA-qqmv-5p3g-px89
  • github.com/directus/directus
  • github.com/directus/directus/security/advisories/GHSA-qqmv-5p3g-px89
  • nvd.nist.gov/vuln/detail/CVE-2026-35412

Code Behaviors & Features

Detect and mitigate CVE-2026-35412 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 11.16.1

Fixed versions

  • 11.16.1

Solution

Upgrade to version 11.16.1 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

npm/directus/CVE-2026-35412.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:03 +0000.