CVE-2024-45596

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*
cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*

History

17 Nov 2025, 18:42

Type Values Removed Values Added
First Time Monospace
Monospace directus
CPE cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*
References () https://github.com/directus/directus/commit/4aace0bbe57232e38cd6a287ee475293e46dc91b - () https://github.com/directus/directus/commit/4aace0bbe57232e38cd6a287ee475293e46dc91b - Patch
References () https://github.com/directus/directus/commit/769fa22797bff5a9231599883b391e013f122e52 - () https://github.com/directus/directus/commit/769fa22797bff5a9231599883b391e013f122e52 - Patch
References () https://github.com/directus/directus/security/advisories/GHSA-cff8-x7jv-4fm8 - () https://github.com/directus/directus/security/advisories/GHSA-cff8-x7jv-4fm8 - Exploit, Vendor Advisory

Information

Published : 2024-09-10 19:15

Updated : 2025-11-17 18:42


NVD link : CVE-2024-45596

Mitre link : CVE-2024-45596

CVE.ORG link : CVE-2024-45596


JSON object : View

Products Affected

monospace

  • directus
CWE
CWE-524

Use of Cache Containing Sensitive Information