Skip to main content

Directus CVE-2024-45596

MEDIUM
Use of Cache Containing Sensitive Information (CWE-524)
2024-09-10 security-advisories@github.com
6.5
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Cache-Control for sensitive pages
Impact

CVSS score of 6.5 (MEDIUM). Attack characteristics: network attack vector, low complexity, no privileges required, user interaction required. Public proof-of-concept exploit code is available.

Exploit ScenarioDerived

This vulnerability can be exploited remotely over the network. Successful exploitation could compromise the medium-severity affected system.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

Directus is a real-time API and App dashboard for managing SQL database content. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

RemediationAI

A vendor patch is available. Apply the latest security update as soon as possible. Apply vendor patches when available. Implement network segmentation and monitoring as interim mitigations.

Affected Packages

npm @directus/api fix: 21.0.1, 22.2.0
npm directus fix: 10.13.3, 11.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability is classified under CWE-524. 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. Affected products include: Monospace Directus.

Know when Directus gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionNVD

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 npm packages depend on @directus/api (1 direct, 1 indirect)

Ecosystem-wide dependent count for version 22.0.0.

Threat Intelligence Overview

EPSS Score
0.6%
Top 55% exploitable
Exploit
POC
Public exploit code exists
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

53
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*
cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*
CVE-2018-10723 CRITICAL POC
9.8 May 05

Directus 6.4.9 has a hardcoded admin password for the Admin account because of an INSERT statement in api/schema.sql. Ra

CVE-2025-55746 CRITICAL POC
9.3 Aug 20

Directus is a real-time API and App dashboard for managing SQL database content. Rated critical severity (CVSS 9.3), thi

CVE-2021-29641 HIGH POC
8.8 Apr 07

Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code because file-upload permissions incl

CVE-2021-26594 HIGH POC
8.8 Feb 23

In Directus 8.x through 8.8.1, an attacker can switch to the administrator role (via the PATCH method) without any contr

CVE-2025-30353 HIGH POC
8.6 Mar 26

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 8.6), this vu

CVE-2024-27295 HIGH POC
8.2 Mar 01

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 8.2), this vu

CVE-2024-39701 HIGH POC
7.7 Jul 08

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.7), this vu

CVE-2024-54151 HIGH POC
7.5 Dec 09

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu

CVE-2024-36128 HIGH POC
7.5 Jun 03

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu

CVE-2023-26492 HIGH POC
7.5 Mar 03

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu

CVE-2021-26593 HIGH POC
7.5 Feb 23

In Directus 8.x through 8.8.1, an attacker can see all users in the CMS using the API /users/{id}. Rated high severity (

CVE-2024-39895 MEDIUM POC
6.5 Jul 08

Directus is a real-time API and App dashboard for managing SQL database content. Rated medium severity (CVSS 6.5), this

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy