{"id":"CVE-2025-53885","published":"2025-07-14T23:18:57Z","modified":"2025-07-15T13:43:35Z","title":"Directus doesn't redact sensitive user data when logging via event hooks","vendor":"directus","product":"directus","tier":"tail","description":{"text":"Directus is a real-time API and App dashboard for managing SQL database content. Starting in version 9.0.0 and prior to version 11.9.0, when using Directus Flows to handle CRUD events for users it is possible to log the incoming data to console using the \"Log to Console\" operation and a template string. Malicious admins can log sensitive data from other users when they are created or updated. Version 11.9.0 contains a fix for the issue. As a workaround, avoid logging sensitive data to the console outside the context of development.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00202,"percentile":0.10075,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-x3vm-88hf-gpxp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/directus/directus/pull/25355","tags":["x_refsource_MISC"]},{"url":"https://github.com/directus/directus/commit/859f664f56fb50401c407b095889cea38ff580e5","tags":["x_refsource_MISC"]},{"url":"https://github.com/directus/directus/releases/tag/v11.9.0","tags":["x_refsource_MISC"]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":2.02},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"directus","affectedVersions":[{"vendor":"directus","product":"directus","versions":[">= 9.0.0, < 11.9.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-15T13:43:27.488182Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"directus","vulnerableRanges":[">=9.0.0, <11.9.0"],"patched":["11.9.0"],"from":["GHSA-x3vm-88hf-gpxp"],"provenance":"source"}],"summary":{"text":"The flaw is in Directus, specifically its Flows feature, where the \"Log to Console\" operation used with a template string can write sensitive data from user create and update events into the console log without redaction. An attacker who is a malicious administrator with high privileges and local access can exploit this by logging the incoming data of other users when their accounts are created or updated, which requires another party (such as a user or administrator performing the action) to be involved in the event.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:59Z"},"euvd":{"id":"EUVD-2025-21396","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-directus-cve-2025-53885","children":[{"from":"CVE-2025-53885","to":"CVE-2025-53889","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["api/src/flows.ts"],"commits":["https://github.com/directus/directus/commit/859f664f56fb50401c407b095889cea38ff580e5","https://github.com/directus/directus/commit/22be460c76957708d67fdd52846a9ad1cbb083fb"],"basis":"shared function","functions":["FlowManager"]}]}]}}