Skip to main content
VulnerabilityPublished Updated

CVE-2024-45596: Directus · Session is cached for OpenID and OAuth2 if `redirect` is not used

Affects directusSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.4 High : upgrade to 10.13.3 soon.

Data as of 13 Nov 2026, 19:44 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 10.13.3, 11.1.0, 21.0.1 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Sep 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
npmdirectusAffected
  • <10.13.3
Fixed in
  • 10.13.3
npmdirectusAffected
  • >=11.0.0-rc.1 <11.1.0
Fixed in
  • 11.1.0
npm@directus/apiAffected
  • <21.0.1
Fixed in
  • 21.0.1
npm@directus/apiAffected
  • >=22.0.0 <22.2.0
Fixed in
  • 22.2.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Apply the official patches by upgrading Directus to versions 10.13.3, 11.1.0, 21.0.1, or 22.2.0 or later. These versions contain fixes that prevent caching of authentication responses in this scenario. Until patched, ensure that all SSO login URLs include the required redirect query string to avoid triggering the caching behavior. No other mitigations are specified by the vendor.

Description

Directus versions prior to 10.13.3, between 11.0.0-rc.1 and before 11.1.0, prior to 21.0.1, and between 22.0.0 and before 22.2.0 have a vulnerability where unauthenticated users can access cached credentials of the last authenticated user via OpenID or OAuth2 if the login URL does not include a redirect query string. This occurs due to caching behavior on the authentication callback endpoint. The vulnerability allows exposure of access tokens to unauthenticated users under specific conditions.

References

Community reviews

Loading reviews…