{"id":"CVE-2026-39942","published":"2026-04-09T16:07:54Z","modified":"2026-04-09T19:37:24Z","title":"Directus has a Path Traversal and Broken Access Control in File Management API","vendor":"directus","product":"directus","tier":"tail","description":{"text":"Directus is a real-time API and App dashboard for managing SQL database content. Prior to 11.17.0, the PATCH /files/{id} endpoint accepts a user-controlled filename_disk parameter. By setting this value to match the storage path of another user's file, an attacker can overwrite that file's content while manipulating metadata fields such as uploaded_by to obscure the tampering. This vulnerability is fixed in 11.17.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00375,"percentile":0.23375,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-393c-p46r-7c95","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/directus/directus/releases/tag/v11.17.0","tags":["x_refsource_MISC"]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":4.68},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"directus","affectedVersions":[{"vendor":"directus","product":"directus","versions":["< 11.17.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-09T17:47:33.268680Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"directus","vulnerableRanges":["<11.17.0"],"patched":["11.17.0"],"from":["GHSA-393c-p46r-7c95"],"provenance":"source"}],"summary":{"text":"The Directus API (directus), specifically the file management endpoint PATCH /files/{id}, accepts a user-controlled filename_disk parameter that is not properly restricted, leading to a path traversal and broken access control flaw. An attacker with network access and low-privileged authenticated credentials, requiring no user interaction, can set filename_disk to the storage path of another user's file to overwrite its content and alter metadata such as uploaded_by to conceal the change.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:16Z"},"euvd":{"id":"EUVD-2026-20950","exploited":false,"provenance":"source"}}