Directusの脆弱性、認証済みユーザーが他人のファイルを上書きできる
Summary
Directus 10.13.0から12.1.0未満では、TUSによるアップロードでreplace_idを指定すると、ほかのユーザーのファイルを上書きされるおそれがあります。CVSSは7.1で、修正版は12.1.0です。TUSを有効にしている環境は、12.1.0以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Directus 10.13.0から12.1.0未満では、TUSによるアップロードでreplace_idを指定すると、ほかのユーザーのファイルを上書きされるおそれがあります。CVSSは7.1で、修正版は12.1.0です。TUSを有効にしている環境は、12.1.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| directusdirectus |
≥ 10.13.0, < 12.1.0→ 12.1.0 |
12.1.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com