{"id":"CVE-2024-34709","published":"2024-05-13T19:39:32Z","modified":"2024-08-02T02:59:22Z","title":"Directus Lacks Session Tokens Invalidation","vendor":"directus","product":"directus","tier":"tail","description":{"text":"Directus is a real-time API and App dashboard for managing SQL database content. Prior to 10.11.0, 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 the cookie value is captured, 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. This vulnerability is fixed in 10.11.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0045,"percentile":0.3992,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-g65h-35f3-x2w3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/directus/directus/commit/a6172f8a6a0f31a6bf4305a090de172ebfb63bcf","tags":["x_refsource_MISC"]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":7.98},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"directus","affectedVersions":[{"vendor":"directus","product":"directus","versions":[">= 10.10.0, < 10.11.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-12T19:00:10.224689Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"directus","vulnerableRanges":[">=10.10.0, <10.11.0"],"patched":["10.11.0"],"from":["GHSA-g65h-35f3-x2w3"],"provenance":"source"}],"summary":{"text":"Directus, the real-time API and dashboard for managing SQL database content, has a session handling flaw in versions before 10.11.0 where session tokens are not truly invalidated on logout, so a captured session cookie remains usable until its expiry (1 day by default). An attacker who captures a session cookie can reuse it to act as the user for the full expiry window, which requires network access to the target, low privileges, and user interaction, with the attacker needing to obtain the cookie value first.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:49Z"},"euvd":{"id":"EUVD-2024-1618","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-directus-cve-2024-27295","children":[{"from":"CVE-2024-34709","to":"CVE-2025-24353","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/e288a43a79613dada905da683f4919c6965ac804"],"basis":"shared function","functions":["getAccountabilityForToken"]}]},{"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"]}]}],"packageHistory":[{"cve":"CVE-2024-28238","published":"2024-03-12","fixed":"10.10.0","kev":false},{"cve":"CVE-2024-28239","published":"2024-03-12","fixed":"10.10.0","kev":false,"link":{"from":"CVE-2024-28239","to":"CVE-2024-34709","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:directus","fromFixed":"10.10.0","toFixed":"10.11.0","daysApart":62}]}},{"cve":"CVE-2024-34708","published":"2024-05-13","fixed":"10.11.0","kev":false},{"cve":"CVE-2024-34709","published":"2024-05-13","fixed":"10.11.0","kev":false},{"cve":"CVE-2024-36128","published":"2024-06-03","fixed":"10.11.2","kev":false},{"cve":"CVE-2024-39896","published":"2024-07-08","fixed":"10.13.0","kev":false},{"cve":"CVE-2024-6534","published":"2024-08-15","fixed":"10.13.2","kev":false}],"package":"npm:directus"}}