Read the docs

Authorization bypass in Directus TUS upload lets users overwrite files

Priority MEDIUM 46CWE-639Published · Updated

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

Fix Fixed directus (directus): 12.1.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
directusdirectus10.13.0 to before 12.1.012.1.0Patch availableCNA
  • directus Vendordirectus Affected 10.13.0 to before 12.1.0 Fixed in 12.1.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:monospace:directus:*:*:*:*:*:*:*:*——directus
  • cpe:2.3:a:monospace:directus:*:*:*:*:*:*:*:* Versions — — ·directus

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

  1. 2026-12-02 Threatist record created from CVE-2026-142071
  2. 2026-12-02 Alias added: GHSA-w366-wg63-vpp9

References

  • 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
See all 63 →

Sources