{"id":"GHSA-g65h-35f3-x2w3","revision":"6441d2a1f506406c96593f795c43e991","records":[{"revision":"6441d2a1f506406c96593f795c43e991","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-g65h-35f3-x2w3","aliases":["CVE-2024-34709"],"title":"Directus Lacks Session Tokens Invalidation","description":"### Summary\nCurrently session tokens function like the other JWT tokens where they are not actually invalidated when logging out. The `directus_session` gets destroyed and the cookie gets deleted but if you captured the cookie value it will still work for the entire expiry time which is set to 1 day by default. Making it effectively a long lived unrevokable stateless token instead of the stateful session token it was meant to be.\nWhen authenticating a session token JWT, Directus should also check whether the associated `directus_session` both still exists and has not expired (although the token should expire at the same time or before the session) to ensure leaked tokens are not valid indefinitely.\n\n## Steps to reproduce\n- Copy the current session token from the cookie\n- Refresh and or log out\n- Use the saved session token to check if it is still valid\n\n### Impact\nThe lack of proper session expiration may improve the likely success of certain attacks. For example, a user might access a web site from a shared computer (such as at a library, Internet cafe, or open work environment). Incorrect token invalidation could allow an attacker to use the browser's history to access a Directus instance session previously accessed by the victim.","state":0,"publishedAt":"2024-05-13T19:59:39+00:00","modifiedAt":"2026-09-10T03:50:00.3897659+00:00","affected":[{"ecosystem":"npm","name":"directus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"10.10.0"},{"kind":"fixed","version":"10.11.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/directus/directus/security/advisories/GHSA-g65h-35f3-x2w3","https://nvd.nist.gov/vuln/detail/CVE-2024-34709","https://github.com/directus/directus/commit/a6172f8a6a0f31a6bf4305a090de172ebfb63bcf","https://github.com/directus/directus"],"sourceUrl":"https://github.com/advisories/GHSA-g65h-35f3-x2w3","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-g65h-35f3-x2w3","identifiers":["GHSA-g65h-35f3-x2w3","CVE-2024-34709"]},"retained":false,"historicalAffected":[]}],"coverage":[]}