{"id":"CVE-2025-55746","published":"2025-08-20T17:58:06Z","modified":"2025-08-20T18:20:03Z","title":"Directus allows unauthenticated file upload and file modification due to lacking input sanitization","vendor":"directus","product":"directus","tier":"tail","description":{"text":"Directus is a real-time API and App dashboard for managing SQL database content. From 10.8.0 to before 11.9.3, a vulnerability exists in the file update mechanism which allows an unauthenticated actor to modify existing files with arbitrary contents (without changes being applied to the files' database-resident metadata) and / or upload new files, with arbitrary content and extensions, which won't show up in the Directus UI. This vulnerability is fixed in 11.9.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01542,"percentile":0.75599,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-mv33-9f6j-pfmc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/directus/directus/commit/d84dcc36f75fc5c858d43746b8f9c426c38d696b","tags":["x_refsource_MISC"]}],"priority":{"score":26.6,"factors":[{"name":"EPSS percentile","points":15.12},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-09-02","earliestUrl":"https://github.com/r4bbit-r4/directus-preso","repos":[{"name":"r4bbit-r4/directus-preso","url":"https://github.com/r4bbit-r4/directus-preso","stars":1,"created":"2025-09-02"}]},"nuclei":[{"id":"CVE-2025-55746","name":"Directus - Unauthenticated File Modification","severity":"critical","path":"http/cves/2025/CVE-2025-55746.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-55746.yaml"}],"first":{"date":"2025-09-02","source":"PoC-in-GitHub","url":"https://github.com/r4bbit-r4/directus-preso"},"provenance":"source"},"vendorSlug":"directus","affectedVersions":[{"vendor":"directus","product":"directus","versions":[">= 10.8.0, < 11.9.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-08-20T18:19:49.537443Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"directus","vulnerableRanges":[">=10.8.0, <11.9.3"],"patched":["11.9.3"],"from":["GHSA-mv33-9f6j-pfmc"],"provenance":"source"},{"ecosystem":"npm","package":"@directus/api","vulnerableRanges":[">=14.1.0, <28.0.2"],"patched":["28.0.2"],"from":["GHSA-mv33-9f6j-pfmc"],"provenance":"source"}],"summary":{"text":"The flaw lies in the file update mechanism of Directus, a real-time API and App dashboard for managing SQL database content, in versions from 10.8.0 before 11.9.3. An unauthenticated actor can exploit it over the network without user interaction to overwrite existing files with arbitrary contents, or upload new files with arbitrary content and extensions that do not appear in the Directus UI.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:01:33Z"},"euvd":{"id":"EUVD-2025-25355","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-directus-cve-2022-23080","parents":[{"from":"CVE-2022-23080","to":"CVE-2025-55746","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["api/src/services/files.ts"],"commits":["https://github.com/directus/directus/commit/6da3f1ed5034115b1da00440008351bf0d808d83","https://github.com/directus/directus/commit/d84dcc36f75fc5c858d43746b8f9c426c38d696b"],"basis":"shared function","functions":["FilesService"]}]},{"from":"CVE-2023-26492","to":"CVE-2025-55746","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["api/src/services/files.ts"],"commits":["https://github.com/directus/directus/commit/ff53d3e69a602d05342e15d9bb616884833ddbff","https://github.com/directus/directus/commit/d84dcc36f75fc5c858d43746b8f9c426c38d696b"],"basis":"shared function","functions":["FilesService"]}]}]}}