cve.bz

CVE-2024-45596

6.5 mediumEPSS 0.7%

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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
0.7% chance of exploitation in the next 30 days; higher than 51% of CVEs (scores of 2026-10-31)
CWE
CWE-524
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cff8-x7jv-4fm8npmdirectus<10.13.310.13.3
GHSA-cff8-x7jv-4fm8npmdirectus>=11.0.0-rc.1 <11.1.011.1.0
GHSA-cff8-x7jv-4fm8npm@directus/api<21.0.121.0.1
GHSA-cff8-x7jv-4fm8npm@directus/api>=22.0.0 <22.2.022.2.0

References

Check your stackJSON