{"id":"CVE-2025-30351","published":"2025-03-26T17:13:42Z","modified":"2025-06-09T18:05:31Z","title":"Suspended Directus user can continue to use session token to access API","vendor":"directus","product":"directus","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00655,"percentile":0.46168,"provenance":"source"},"cwes":[{"id":"CWE-672","name":"Operation on a Resource after Expiration or Release"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-56p6-qw3c-fq2g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/directus/directus/commit/ef179931c55b50c110feca8404901d5633940771","tags":["x_refsource_MISC"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":9.23},{"name":"CVSS severity","points":2.45}]},"vendorSlug":"directus","affectedVersions":[{"vendor":"directus","product":"directus","versions":[">= 10.10.0, < 11.5.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-26T17:26:16.797259Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"directus","vulnerableRanges":[">=10.10.0, <11.5.0"],"patched":["11.5.0"],"from":["GHSA-56p6-qw3c-fq2g"],"provenance":"source"},{"ecosystem":"npm","package":"@directus/api","vulnerableRanges":[">=18.0.0, <24.0.1"],"patched":["24.0.1"],"from":["GHSA-56p6-qw3c-fq2g"],"provenance":"source"},{"ecosystem":"npm","package":"@directus/types","vulnerableRanges":[">=11.0.7, <13.0.0"],"patched":["13.0.0"],"from":["GHSA-56p6-qw3c-fq2g"],"provenance":"source"}],"summary":{"text":"Directus (the directus product) contains a flaw in its session authentication handling, where the verifySessionJWT check does not confirm that a user is still active and permitted to access the API. An attacker who holds a session token from a user that has since been suspended can use that token against the API until it expires, provided they have network access to the API and have obtained the token while the account was still active, for example after the victim logged in and user interaction took place.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:27Z"},"euvd":{"id":"EUVD-2025-8232","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-directus-cve-2024-27295","parents":[{"from":"CVE-2024-27295","to":"CVE-2025-30351","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["api/src/services/users.ts"],"commits":["https://github.com/directus/directus/commit/a8ef790ea2d28b1727f9027d99bd360920d57919","https://github.com/directus/directus/commit/ef179931c55b50c110feca8404901d5633940771"],"basis":"shared function","functions":["UsersService"]}]},{"from":"CVE-2024-34709","to":"CVE-2025-30351","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["api/src/utils/get-accountability-for-token.ts"],"commits":["https://github.com/directus/directus/commit/a6172f8a6a0f31a6bf4305a090de172ebfb63bcf","https://github.com/directus/directus/commit/ef179931c55b50c110feca8404901d5633940771"],"basis":"shared function","functions":["getAccountabilityForToken"]}]},{"from":"CVE-2025-24353","to":"CVE-2025-30351","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["api/src/utils/get-accountability-for-token.ts","packages/types/src/accountability.ts"],"commits":["https://github.com/directus/directus/commit/e288a43a79613dada905da683f4919c6965ac804","https://github.com/directus/directus/commit/ef179931c55b50c110feca8404901d5633940771"],"basis":"shared function","functions":["getAccountabilityForToken"]}]}],"children":[{"from":"CVE-2025-30351","to":"CVE-2026-26185","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["api/src/services/users.ts"],"commits":["https://github.com/directus/directus/commit/ef179931c55b50c110feca8404901d5633940771","https://github.com/directus/directus/commit/e69aa7a5248c6e3e822cb1ac354dee295df90b2a"],"basis":"shared function","functions":["UsersService"]}]}]}}