GitHub Advisory Database
GHSA-f24x-rm6g-3w5v
Directus tokens are not redacted in flow logs, exposing session credentials to all admin
Details
Summary
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.
Impact
Malicious admins with access to the logs can hijack the user sessions within the token expiration time of them triggering the Flow.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | directus | All versions before 11.9.0 (fixed in 11.9.0) |
References
- https://github.com/directus/directus/security/advisories/GHSA-f24x-rm6g-3w5v
- https://nvd.nist.gov/vuln/detail/CVE-2025-53886
- https://github.com/directus/directus/commit/859f664f56fb50401c407b095889cea38ff580e5
- https://github.com/directus/directus
- https://github.com/directus/directus/releases/tag/v11.9.0