Skip to content

CVE-2025-30351 Suspended Directus user can continue to use session token to access API

MediumCVSS 4.3 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

Directus is a real-time API and App dashboard for managing SQL database content. Starting in version 10.10.0 and prior to version 11.5.0, a suspended user can use the token generated in session auth mode to access the API despite their status. This happens because there is a check missing in verifySessionJWT to verify that a user is actually still active and allowed to access the API. One can extract the session token obtained by, e.g. login in to the app while still active and then, after the user has been suspended continue to use that token until it expires. Version 11.5.0 patches the issue.

Upgrade path

5 packages: 4 fixed.

PackageAffectedFixed inStatus
directus @directus/api(npm) >= 18.0.0, < 24.0.1 24.0.1 Fixed
directus @directus/types(npm) >= 11.0.7, < 13.0.0 13.0.0 Fixed
monospace directus >= 10.10.0, < 11.5.0 11.5.0 Fixed
npm directus(npm) >= 10.10.0, < 11.5.0 11.5.0 Fixed
directus = >= 10.10.0, < 11.5.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm directus(npm) >= 10.10.0, < 11.5.0 11.5.0
directus @directus/api(npm) >= 18.0.0, < 24.0.1 24.0.1
directus @directus/types(npm) >= 11.0.7, < 13.0.0 13.0.0
directus = >= 10.10.0, < 11.5.0 No fix listed
monospace directus >= 10.10.0, < 11.5.0 11.5.0

References