{"id":"CVE-2026-142071","aliases":["EUVD-2026-141235","GHSA-w366-wg63-vpp9"],"status":"published","title":"Directus 10.13.0 before 12.1.0 Cross-User File Overwrite via TUS Upload replace_id Metadata","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.","severity":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00542,"percentile":0.47035,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-639"],"published":"2026-12-02T11:47:45Z","modified":"2026-12-04T15:12:59Z","products":[{"vendor":"directus","product":"directus"},{"vendor":"monospace","product":"directus"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-xjxq-pj7h-g676","tags":["Vendor Advisory","advisory"]},{"url":"https://github.com/directus/directus/security/advisories/GHSA-qqmv-5p3g-px89","tags":["Not Applicable","advisory"]},{"url":"https://github.com/directus/directus/pull/27803","tags":["Issue Tracking","Patch","fix"]},{"url":"https://github.com/directus/directus/releases/tag/v12.1.0","tags":["Release Notes","web"]},{"url":"https://github.com/directus/directus","tags":["Product","package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142071","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-w366-wg63-vpp9"},{"url":"https://www.npmjs.com","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142071.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-142071","title":"Directus 10.13.0 before 12.1.0 Cross-User File Overwrite via TUS Upload replace_id Metadata","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.","status":"published","published":"2026-12-02T11:47:45.894Z","modified":"2026-12-02T16:43:33.309Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-639"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T16:51:57.787418Z"}],"euvd":[{"id":"EUVD-2026-141235","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.","status":"published","published":"2026-12-02T11:47:45Z","modified":"2026-12-02T16:43:33Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"high"}],"updated_at":"2026-12-02T15:25:30.217075Z"}],"ghsa":[{"id":"GHSA-w366-wg63-vpp9","title":"Directus 10.13.0 before 12.1.0 contains an incomplete fix for CVE-2026-35412 where the TUS...","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.","status":"published","published":"2026-12-02T12:30:31Z","modified":"2026-12-02T12:30:42Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"high"}],"cwes":["CWE-639"],"updated_at":"2026-12-02T12:36:45.151628Z"}],"nvd":[{"id":"CVE-2026-142071","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.","status":"published","published":"2026-12-02T12:17:24.13Z","modified":"2026-12-04T15:12:59.91Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"high","assessor":"secondary"}],"cwes":["CWE-639"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-04T15:15:14.774815Z"}],"osv":[{"id":"CVE-2026-142071","title":"Directus 10.13.0 before 12.1.0 Cross-User File Overwrite via TUS Upload replace_id Metadata","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.","status":"published","published":"2026-12-02T11:47:45.894Z","modified":"2026-12-03T21:01:46.080060799Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","level":"high"}],"cwes":["CWE-639"],"updated_at":"2026-12-03T21:10:05.302032Z"}]}}
