Vulnerability · Published Jul 14, 2025 · Assigned by GitHub_M
CVE-2025-53886Directus doesn't redact tokens in Flow logs
Medium 4.5
In plain English
A medium-severity information exposure in directus from directus. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 with the WebHook trigger all incoming request details are logged including security sensitive data like access and refresh tokens in cookies. Malicious admins with access to the logs can hijack the user sessions within the token expiration time of them triggering the Flow. Version 11.9.0 fixes the issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | directus | 11.9.0 | GHSA-f24x-rm6g-3w5v |
Affected products (as reported)
Weakness: CWE-200, CWE-212, CWE-532 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/directus/directus/security/advisories/GHSA-f24x-rm6g-3w5v x_refsource_CONFIRM
- https://github.com/directus/directus/pull/25354 x_refsource_MISC
- https://github.com/directus/directus/commit/22be460c76957708d67fdd52846a9ad1cbb083fb x_refsource_MISC
- https://github.com/directus/directus/releases/tag/v11.9.0 x_refsource_MISC