CVE-2026-142071

Directus 10.13.0 before 12.1.0 Cross-User File Overwrite via TUS Upload replace_id Metadata

Published Dec 2, 2026 CVSS 3.1 · 7.1 High EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Directus 10.13.0 before 12.1.0 Cross-User File Overwrite via TUS Upload replace_id Metadata
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
AISLE
Published
Updated
Dec 2, 2026, 11:47 AM
Reserved
Dec 2, 2026, 11:46 AM
Status
Awaiting Analysis
Published
Dec 2, 2026, 12:17 PM
Modified
Dec 2, 2026, 12:17 PM