{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-39942","id":"CVE-2026-39942","title":"Directus has a Path Traversal and Broken Access Control in File Management API","description":"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 i","descriptionLong":"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.","published":"2026-04-09T16:07:54.100Z","updated":"2026-10-28T02:31:13.265315866Z","reserved":"2026-04-07T22:40:33.820Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["directus"],"affectedProducts":[{"vendor":"directus","product":"directus","defaultStatus":null,"versions":[{"version":"< 11.17.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"directus","purl":"pkg:npm/directus","ranges":["<11.17.0"],"fixed":["11.17.0"],"advisory":"GHSA-393c-p46r-7c95"}],"cwes":["CWE-284","CWE-639","CWE-915"],"aliases":["GHSA-393c-p46r-7c95"],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-393c-p46r-7c95","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/directus/directus/releases/tag/v11.17.0","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39942.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39942","tags":["advisory"]},{"url":"https://github.com/directus/directus","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00208,"epssPercentile":0.11099,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-39942","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39942","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-39942","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-393c-p46r-7c95","ok":true,"note":"GHSA-393c-p46r-7c95"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-39942","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}