CVE-2024-34709
MEDIUM 5.4CVSS 3.1Directus Lacks Session Tokens Invalidation
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.
- Published
- 14 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-613
- Also known as
- GHSA-g65h-35f3-x2w3
- Sources
- NVDJSONOSV GHSA-g65h-35f3-x2w3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | monospace | directuscpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:* |
< 10.11.0 | 10.11.0 |
| OSV | npm | directus | >= 10.10.0, < 10.11.0 | 10.11.0 |
References
- https://github.com/directus/directus/commit/a6172f8a6a0f31a6bf4305a090de172ebfb63bcf · Patch, WEB
- https://github.com/directus/directus/security/advisories/GHSA-g65h-35f3-x2w3 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-34709 · ADVISORY
- https://github.com/directus/directus · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 14 May 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 May 2024)