CVE-2025-30351
Suspended Directus user can continue to use session token to access API
Also known as GHSA-56p6-qw3c-fq2g
Mitigation
- Upgrade directus to 11.5.0 or later.
- Upgrade @directus/api to 24.0.1 or later.
- Upgrade @directus/types to 13.0.0 or later.
Who should check
- Projects that depend on npm package directus (>= 10.10.0, < 11.5.0)
- Projects that depend on npm package @directus/api (>= 18.0.0, < 24.0.1)
- Projects that depend on npm package @directus/types (>= 11.0.7, < 13.0.0)
- Anyone running directus >= 10.10.0, < 11.5.0
Vulnerability facts
- Affected
- directus >= 10.10.0, < 11.5.0; @directus/api >= 18.0.0, < 24.0.1; @directus/types >= 11.0.7, < 13.0.0
- Fixed in
- 11.5.0, 24.0.1, 13.0.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 3.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.66% chance of exploitation in 30 days (percentile 46, 2026-11-26)
- CWE
- CWE-672
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm directus | >= 10.10.0, < 11.5.0 | 11.5.0 | osv |
| npm @directus/api | >= 18.0.0, < 24.0.1 | 24.0.1 | osv |
| npm @directus/types | >= 11.0.7, < 13.0.0 | 13.0.0 | osv |
| directus | >= 10.10.0, < 11.5.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-30351. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-30351.md Affected: directus >= 10.10.0, < 11.5.0; @directus/api >= 18.0.0, < 24.0.1; @directus/types >= 11.0.7, < 13.0.0 Fixed in: 11.5.0, 24.0.1, 13.0.0 Steps: 1. Search this machine and project for directus (npm), @directus/api (npm), @directus/types (npm), directus: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-30351 being exploited?
There is no confirmed exploitation: CVE-2025-30351 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.66% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-30351?
Low: CVSS 3.5 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-30351?
directus >= 10.10.0, < 11.5.0; @directus/api >= 18.0.0, < 24.0.1; @directus/types >= 11.0.7, < 13.0.0.
Is there a fix for CVE-2025-30351?
Yes. Fixed in 11.5.0, 24.0.1, 13.0.0. Upgrade directus to 11.5.0 or later. Upgrade @directus/api to 24.0.1 or later. Upgrade @directus/types to 13.0.0 or later.
How do I check if I'm affected by CVE-2025-30351?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.