All vulnerabilities

Servers and applications

CVE-2026-35412

TUS Upload Authorization Bypass Allows Arbitrary File Overwrite

Severity
High 8.1
Published
2 Apr 2026
Last changed
24 Jul 2026
Added to UpHeron
1 Nov 2026
Fixed in
11.16.1
Exploit chance
0.3% in the next 30 daysHigher than 24% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Also known as
GHSA-qqmv-5p3g-px89
Sources
NVD, Project advisories (GitHub)

Description

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.

  • Arbitrary file overwrite: Any authenticated user with basic TUS upload permissions can overwrite any file in directus_files by UUID, regardless of row-level permission rules.
  • Permanent data loss: The victim file's original stored bytes are deleted from storage and replaced with attacker-controlled content.
  • Metadata corruption: The victim file's database record is updated with the attacker's filename, type, and size metadata.
From directus/directus's security advisory. Shortened; the full text is there.

Workarounds

Disable TUS uploads by setting TUS_ENABLED=false if resumable uploads are not required.

Workarounds as given by directus/directus's security advisory.

Affected software

SoftwareAffected versions
DirectusServers and applications · cpe:a:monospace:directus
  • Every version before 11.16.1
DirectusServers and applications · github:directus/directus
  • Every version before 11.16.1

About Directus

The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.

From its GitHub repository.
Weekly downloads (npm)
30,924npm, 15 Nov 2026
Docker Hub pulls
50,954,770Docker Hub, 15 Nov 2026
GitHub stars
38,722GitHub, 15 Nov 2026
Forks
5,000GitHub, 15 Nov 2026
Latest release
v12.6.1GitHub, 15 Nov 2026
Released
4 Nov 2026GitHub
First published on GitHub
12 Dec 2012GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-35412
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-35412
  • GitHub Advisory Database https://github.com/advisories/GHSA-qqmv-5p3g-px89
  • github.com https://github.com/directus/directus/security/advisories/GHSA-qqmv-5p3g-px89