MEDIUM 4.5 npm

Directus tokens are not redacted in flow logs, exposing session credentials to all admin

GHSA-f24x-rm6g-3w5v · CVE-2025-53886

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes