{"cve":"CVE-2026-39942","nvd":{"published":"2026-04-09T17:16:29.813","modified":"2026-06-17T10:42:48.210","status":"Analyzed","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 is fixed in 11.17.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-284","CWE-639"],"references":["https://github.com/directus/directus/releases/tag/v11.17.0","https://github.com/directus/directus/security/advisories/GHSA-393c-p46r-7c95"],"products":["monospace:directus"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-39942","score":0.00204,"percentile":0.10419,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-393c-p46r-7c95","url":"https://osv.dev/vulnerability/GHSA-393c-p46r-7c95","summary":"Directus: Path Traversal and Broken Access Control in File Management API","modified":"2026-04-09T19:18:35.599562Z","packages":[{"ecosystem":"npm","name":"directus","purl":"pkg:npm/directus","ranges":["<11.17.0"],"fixed":["11.17.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}