Authorization bypass in Directus TUS upload lets users overwrite files
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-639.
Summary
Directus from 10.13.0 before 12.1.0 contains an incomplete fix for CVE-2026-35412. The TUS resumable upload endpoint checks item-level access for the id metadata key but not for replace_id, which lets an authenticated user overwrite another user's file by naming its id. Users need create and update permissions on directus_files, and the flaw applies only on instances with TUS_ENABLED set.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
Directus 10.13.0 before 12.1.0 contains an incomplete fix for CVE-2026-35412 where the TUS resumable upload endpoint checks item-level access for the id upload metadata key but not for the adjacent replace_id key, which the upload completion handlers use to rewrite the referenced file through internal services that run without accountability, and does not normalize or uniqueness-check a client-supplied filename_disk. Authenticated users with create and update permissions on directus_files can name another user's file id in replace_id to overwrite that file's stored contents and metadata on instances with TUS_ENABLED set.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade Directus to 12.1.0, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
- Fix · CNA directus (directus) Fixed in 12.1.0
Timeline
- 2026-12-02 Threatist record created from CVE-2026-142071
- 2026-12-02 Alias added: GHSA-w366-wg63-vpp9
References
More directus vulnerabilities
- TI-2025-21659 Directus's webhook trigger flows can leak sensitive data CVSS 3.1HIGH 8.6
- TI-2024-36266 Directus allows unauthenticated access to WebSocket events and operations CVSS 3.1HIGH 7.5
- TI-2024-26791 Directus allows SSO User Enumeration CVSS 3.1HIGH 7.5
- TI-2024-23956 Directus is soft-locked by providing a string value to random string util CVSS 3.1HIGH 7.5
- TI-2024-26624 Directus Incorrectly handles _in` filter CVSS 3.1HIGH 7.7
- TI-2025-21658 Directus `search` query parameter allows enumeration of non permitted fields CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-142071 · CVE Program
- CVE-2026-142071 · NVD
- GHSA-w366-wg63-vpp9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences