CVE-2024-45596
Directus's session is cached for OpenID and OAuth2 if `redirect` is not used
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.655% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T19:48:17.831Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.4 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Assessment source · checked 2026-11-19T19:05:11.633Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T19:48:17.831Z | CISA KEV |
| cvss | verified | 2026-11-19T19:05:11.633Z | CVE Program |
| epss | verified | 2026-11-19T19:06:25.030Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:33.470Z | OSV |
| affected | verified | 2026-11-19T19:05:11.633Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:05:11.633Z | CVE Program |
Affected versions and configuration
directus directus; default status: unknown: < 10.13.3 [affected; scheme: unspecified]; >= 11.0.0, < 11.1.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "directus",
"product": "directus",
"versions": [
{
"status": "affected",
"version": "< 10.13.3"
},
{
"status": "affected",
"version": ">= 11.0.0, < 11.1.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-45596",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-09-10T19:20:20.595959Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-09-10T19:20:32.884Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-cff8-x7jv-4fm8",
"aliases": [
"CVE-2024-45596"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "21.0.1"
}
]
}
],
"package": {
"name": "@directus/api",
"purl": "pkg:npm/%40directus/api",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-cff8-x7jv-4fm8/GHSA-cff8-x7jv-4fm8.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "22.0.0"
},
{
"fixed": "22.2.0"
}
]
}
],
"package": {
"name": "@directus/api",
"purl": "pkg:npm/%40directus/api",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-cff8-x7jv-4fm8/GHSA-cff8-x7jv-4fm8.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"
},
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/directus/directus/security/advisories/GHSA-cff8-x7jv-4fm8",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-45596",
"type": "ADVISORY"
},
{
"url": "https://github.com/directus/directus/commit/4aace0bbe57232e38cd6a287ee475293e46dc91b",
"type": "WEB"
},
{
"url": "https://github.com/directus/directus/commit/769fa22797bff5a9231599883b391e013f122e52",
"type": "WEB"
},
{
"url": "https://github.com/directus/directus",
"type": "PACKAGE"
},
{
"url": "https://github.com/directus/directus/blob/main/api/src/auth/drivers/oauth2.ts#L422-L428",
"type": "WEB"
},
{
"url": "https://github.com/directus/directus/blob/main/api/src/auth/drivers/openid.ts#L453-L459",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-384",
"CWE-524"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2024-09-10T19:15:22Z",
"github_reviewed_at": "2024-09-10T19:43:00Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-cff8-x7jv-4fm8",
"aliases": [
"CVE-2024-45596"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "10.13.3"
}
]
}
],
"package": {
"name": "directus",
"purl": "pkg:npm/directus",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-cff8-x7jv-4fm8/GHSA-cff8-x7jv-4fm8.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "11.0.0-rc.1"
},
{
"fixed": "11.1.0"
}
]
}
],
"package": {
"name": "directus",
"purl": "pkg:npm/directus",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-cff8-x7jv-4fm8/GHSA-cff8-x7jv-4fm8.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"
},
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/directus/directus/security/advisories/GHSA-cff8-x7jv-4fm8",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-45596",
"type": "ADVISORY"
},
{
"url": "https://github.com/directus/directus/commit/4aace0bbe57232e38cd6a287ee475293e46dc91b",
"type": "WEB"
},
{
"url": "https://github.com/directus/directus/commit/769fa22797bff5a9231599883b391e013f122e52",
"type": "WEB"
},
{
"url": "https://github.com/directus/directus",
"type": "PACKAGE"
},
{
"url": "https://github.com/directus/directus/blob/main/api/src/auth/drivers/oauth2.ts#L422-L428",
"type": "WEB"
},
{
"url": "https://github.com/directus/directus/blob/main/api/src/auth/drivers/openid.ts#L453-L459",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-384",
"CWE-524"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2024-09-10T19:15:22Z",
"github_reviewed_at": "2024-09-10T19:43:00Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | @directus/api | Not a distribution channel | 21.0.1 | Official record |
| ecosystem-boundary | npm / package | @directus/api | Not a distribution channel | 22.2.0 | Official record |
| ecosystem-boundary | npm / package | directus | Not a distribution channel | 10.13.3 | Official record |
| ecosystem-boundary | npm / package | directus | Not a distribution channel | 11.1.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T19:03:30.968ZArchived source JSON
Source publication: 2024-09-10T19:43:00.000Z
Source modification: 2025-11-17T21:35:30.000ZDocument fingerprint
f4f60bcf87a8f77ce3fee3ab3f5dffde8e28e3827a2229b8ac076bed84b4988c - CVE ProgramConsulted: 2026-11-19T19:05:11.633ZArchived source JSON
Source publication: 2024-09-10T18:43:33.413Z
Source modification: 2024-09-10T19:20:32.884ZDocument fingerprint
38a74e12bf82c1db78ba071a8b54ea6a7f25b98084e263636750878866539d8c - CISA KEVConsulted: 2026-11-19T19:48:17.831ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T19:03:33.470ZArchived source JSON
Source publication: 2024-09-10T19:43:00.000Z
Source modification: 2025-11-17T21:35:30.000ZDocument fingerprint
322db41fefc38df0840984b10b0fda211980b2cc3471dfc8540fbaf6c06decd4 - FIRST EPSSConsulted: 2026-11-19T19:06:25.030ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
48063bcc1b611070baa1186e28b93b877f0c5e76ad457d238367b732012c0666
Official status history
- UNKNOWN → PUBLISHED · · evidence