CVE-2026-142071
HIGH 7.1CVSS 3.1Directus 10.13.0 before 12.1.0 Cross-User File Overwrite via TUS Upload replace_id Metadata
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- 1a4f025a-074d-4105-b4e2-52bd8eabe2ea
- NVD status
- Awaiting Analysis
- Weakness
- CWE-639
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
| CVE List | AISLE | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://www.npmjs.com | directus | >= 10.13.0, < 12.1.0 | 12.1.0 |
References
- https://github.com/directus/directus
- https://github.com/directus/directus/pull/27803
- https://github.com/directus/directus/releases/tag/v12.1.0
- https://github.com/directus/directus/security/advisories/GHSA-qqmv-5p3g-px89
- https://github.com/directus/directus/security/advisories/GHSA-xjxq-pj7h-g676
History
- 2 Dec 2026 17:35 UTC · NVD: updated (other details)
- 2 Dec 2026 16:57 UTC · CVE List: updated (other details)
- 2 Dec 2026 13:48 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 12:48 UTC · CVE List: first stored (published 2 Dec 2026)