| Advisory ID | github_osv/GHSA-56p6-qw3c-fq2g |
| Aliases |
CVE-2025-30351
|
| Summary | Suspended Directus user can continue to use session token to access API ### Summary 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. ### Details There is a check missing in `verifySessionJWT` to verify that a user is actually still active and allowed to access the API. Right now 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. ### PoC * Create an active user * Log in with that user and note the session cookie * Suspend the user (and don't trigger an `/auth/refresh` call, as that invalidates the session * Access the API with `Authorization: Bearer <token>` ### Impact This weakens the security of suspending users. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 3.1 |
| Risk | 1.6 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| System | Score | Found at |
|---|---|---|
| cvssv3.1 | 3.5 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-56p6-qw3c-fq2g/GHSA-56p6-qw3c-fq2g.json |
| generic_textual | LOW |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/directus/directus | ||
| https://github.com/directus/directus/commit/ef179931c55b50c110feca8404901d5633940771 | ||
| CVE-2025-30351 | https://nvd.nist.gov/vuln/detail/CVE-2025-30351 | |
| GHSA-56p6-qw3c-fq2g | https://github.com/directus/directus/security/advisories/GHSA-56p6-qw3c-fq2g |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-26T17:26:16Z/
Decision: Track
Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2025/30xxx/CVE-2025-30351.json
Source Advisory: vulnrichment/CVE-2025-30351
[{'Exploitation': 'poc'},
{'Automatable': 'no'},
{'Technical Impact': 'partial'},
{'Mission Prevalence': 'minimal'},
{'Public Well-being Impact': 'material'},
{'Mission & Well-being': 'medium'}]