CVE-2024-45596Monospace Directus
Medium 6.5 No auth needed
Follow: this CVE · Monospace · Monospace Directus We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 60
- Auth required
- No
- Published
- Sep 10, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-524
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Directus.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @directus/api |
< 21.0.1 |
21.0.1 |
npm install @directus/api@21.0.1 |
| npm | @directus/api |
≥ 22.0.0 < 22.2.0 |
22.2.0 |
npm install @directus/api@22.2.0 |
| npm | directus |
< 10.13.3 |
10.13.3 |
npm install directus@10.13.3 |
| npm | directus |
≥ 11.0.0-rc.1 < 11.1.0 |
11.1.0 |
npm install directus@11.1.0 |
Per OSV / GitHub Advisories (GHSA-cff8-x7jv-4fm8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| monospace | directus | < 10.13.3 |
| monospace | directus | ≥ 11.0.0 < 11.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Exploit Vendor Advisory