CVE-2024-45596
Directus's session is cached for OpenID and OAuth2 if `redirect` is not used
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
Description
Directus is a real-time API and App dashboard for managing SQL database content. An unauthenticated user can access credentials of last authenticated user via OpenID or OAuth2 where the authentication URL did not include redirect query string. This happens because on that endpoint for both OpenId and Oauth2 Directus is using the respond middleware, which by default will try to cache GET requests that met some conditions. Although, those conditions do not include this scenario, when an unauthenticated request returns user credentials. This vulnerability is fixed in 10.13.3 and 11.1.0.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
| NVDNVD · Analyzed | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.66% · top 48% of all CVEs (5 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.4.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@directus/apiGHSA-cff8-x7jv-4fm8 (opens in a new tab)
- npmdirectusGHSA-cff8-x7jv-4fm8 (opens in a new tab)
References (3)
- https://github.com/directus/directus/security/advisories/GHSA-cff8-x7jv-4fm8 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/directus/directus/commit/4aace0bbe57232e38cd6a287ee475293e46dc91b (opens in a new tab)x_refsource_MISC
- https://github.com/directus/directus/commit/769fa22797bff5a9231599883b391e013f122e52 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-cff8-x7jv-4fm8 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-45596)Record last updated .