Vulnerability library
Security checkJune 09, 2025

Suspended Directus user can continue to use session token to access API

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Low severitynpm@directus/types

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Since the user status is not checked when verifying a session token a suspended user can use the token generated in session auth mode to access the API despite their status.

Recommendation

Update the @directus/types package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 11.0.7, < 13.0.0
  • Patched version(s): 13.0.0

References

Could your website be exposed too?

SmartScanner can check your website for Suspended Directus user can continue to use session token to access API and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 09, 2025