Directus 10.13.0 before 12.1.0 Cross-User File Overwrite via TUS Upload replace_id Metadata
CVE-2026-142071Published 2 Dec 2026, 11:47 UTC
Real-world risk
3.6/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.1
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from AISLE)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| directusNiche | >= 10.13.0, < 12.1.0 | 12.1.0 |
What to do
Update to a fixed version: 12.1.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
The arithmetic
- Prerequisites multiplied together0.600
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 0.6 × threat 0.853.570
- Rounded to one decimal between 0.1 and 103.6
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 3.6 (cvss fallback)
Weakness
CWE-639
References
- https://github.com/directus/directus/security/advisories/GHSA-xjxq-pj7h-g676
- https://github.com/directus/directus/security/advisories/GHSA-qqmv-5p3g-px89
- https://github.com/directus/directus/pull/27803
- https://github.com/directus/directus/releases/tag/v12.1.0
- https://github.com/directus/directus
- CVE-2026-142071 on CVE.org