Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @directus/api
  4. ›
  5. CVE-2025-30351

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

March 26, 2025 (updated June 9, 2025)

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.

References

  • github.com/advisories/GHSA-56p6-qw3c-fq2g
  • github.com/directus/directus
  • github.com/directus/directus/commit/ef179931c55b50c110feca8404901d5633940771
  • github.com/directus/directus/security/advisories/GHSA-56p6-qw3c-fq2g
  • nvd.nist.gov/vuln/detail/CVE-2025-30351

Code Behaviors & Features

Detect and mitigate CVE-2025-30351 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 18.0.0 before 24.0.1

Fixed versions

  • 24.0.1

Solution

Upgrade to version 24.0.1 or above.

Impact 3.5 LOW

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

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

Source file

npm/@directus/api/CVE-2025-30351.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 30 Oct 2026 12:16:10 +0000.