CVE-2025-30351

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

State
Published
Severity
3.5 Low
Published
Mar 26, 2025
Updated
Jun 9, 2025
Reserved
Mar 21, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.5 LowCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-672 Operation on a Resource after Expiration or Release

Affected Products

ProductVersions
directusdirectus
  • >= 10.10.0, < 11.5.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.