Directus's session is cached for OpenID and OAuth2 if `redirect` is not used
Published Sep 10, 2024
8.3
HIGHCVSS 4.0
EPSS 0.66%
Description
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
-
- Version < 10.13.3StatusaffectedConstraints-
- Version >= 11.0.0, < 11.1.0StatusaffectedConstraints-
- Version
No data.
No Red Hat product state for this CVE.
directus
npm
Introduced 0 Fixed 10.13.3directus
npm
Introduced 11.0.0-rc.1 Fixed 11.1.0@directus/api
npm
Introduced 0 Fixed 21.0.1@directus/api
npm
Introduced 22.0.0 Fixed 22.2.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | directus | 0 | 10.13.3 |
| npm | directus | 11.0.0-rc.1 | 11.1.0 |
| npm | @directus/api | 0 | 21.0.1 |
| npm | @directus/api | 22.0.0 | 22.2.0 |
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
1 other source (GHSA) ▾
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Sep 10, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2024–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (5 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.66% (0.00655) | 49.58th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.61% (0.00610) | 44.31th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.31% (0.00312) | 52.15th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00045) | 17.70th | v3 (v2023.03.01) |
| Sep 11, 2024 | 0.04% (0.00045) | 16.36th | v3 (v2023.03.01) |
References (7)
- https://github.com/advisories/GHSA-cff8-x7jv-4fm8 Advisory
- https://github.com/directus/directus/blob/main/api/src/auth/drivers/oauth2.ts#L422-L428
- https://github.com/directus/directus/blob/main/api/src/auth/drivers/openid.ts#L453-L459
- https://github.com/directus/directus/commit/4aace0bbe57232e38cd6a287ee475293e46dc91b x_refsource_MISCPatch
- https://github.com/directus/directus/commit/769fa22797bff5a9231599883b391e013f122e52 x_refsource_MISCPatch
- https://github.com/directus/directus/security/advisories/GHSA-cff8-x7jv-4fm8 x_refsource_CONFIRMExploitVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-45596
Change history (0)
No recorded changes yet.