Skip to content
Fencer Vulns
high 7.4

CVE-2024-45596 json

Directus's session is cached for OpenID and OAuth2 if `redirect` is not used

published 2024-09-10 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-2769 , GHSA-cff8-x7jv-4fm8

cvss
7.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 51%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm directus 10.13.3, 11.1.0
  • npm @directus/api 21.0.1, 22.2.0
  • monospace directus 10.13.3, 11.1.0
  • rangerstudio directus 10.13.3, 11.1.0

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/directus/directus/security/advisories/GHSA-cff8-x7jv-4fm8 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
GitHub 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
npm directus
<10.13.3
>=11.0.0-rc.1, <11.1.0
10.13.3
11.1.0
npm @directus/api
<21.0.1
>=22.0.0, <22.2.0
21.0.1
22.2.0

Affected products

  • directus directus

Classification

Weakness
  • CWE-524 Use of Cache Containing Sensitive Information
  • CWE-384 Session Fixation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.