Directus 10.13.0 before 12.1.0 Cross-User File Overwrite via TUS Upload replace_id Metadata
Summary
| CVE | CVE-2026-142071 |
|---|---|
| State | PUBLISHED |
| Assigner | AISLE |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-02 12:17:24 UTC |
| Updated | 2026-12-02 12:17:24 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.1 HIGH from 1a4f025a-074d-4105-b4e2-52bd8eabe2ea
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Problem Types: CWE-639 | CWE-639 Authorization Bypass Through User-Controlled Key
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | Secondary | 7.1 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
| 3.1 | CNA | DECLARED | 7.1 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
LowCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/directus/directus/pull/27803 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | |
| github.com/directus/directus/security/advisories/GHSA-xjxq-pj7h-g676 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | |
| github.com/directus/directus | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | |
| github.com/directus/directus/releases/tag/v12.1.0 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | |
| github.com/directus/directus/security/advisories/GHSA-qqmv-5p3g-px89 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Pavel Kohout (AISLE Research) (en)
There are currently no legacy QID mappings associated with this CVE.