CVE-2024-28238 Session Token in URL in directus
Attackers can hijack user sessions by accessing JWTs exposed in URLs via logs, leading to unauthorized access and data exposure.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-28238?
CVE-2024-28238 is a low-severity vulnerability in Monospace Directus, published on 12 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Directus is a real-time API and App dashboard for managing SQL database content. When reaching the /files page, a JWT is passed via GET request. Inclusion of session tokens in URLs poses a security risk as URLs are often logged in various places (e.g., web server logs, browser history). Attackers gaining access to these logs may hijack active user sessions, leading to unauthorized access to sensitive information or actions on behalf of the user. This issue has been addressed in version 10.10.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Which versions are affected by CVE-2024-28238?
2 open source packages ship an affected version, including directus. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
directus npm | All versions | 10.10.0 |
directus npm | All versions | 10.10.0 |
Products include Monospace Directus.
How do I fix CVE-2024-28238?
Upgrade directus to 10.10.0 or later.
Is CVE-2024-28238 being exploited?
There is no known exploitation of CVE-2024-28238 in the wild and no public exploit code.
Other vulnerabilities in Monospace Directus
- CVE-2022-26969 Insecure default value for CORS configuration
- CVE-2025-55746 Directus allows unauthenticated file upload and file modification due to lacking input sanitization
- CVE-2026-35408 Directus is Missing Cross-Origin Opener Policy
- CVE-2026-61836 Directus: Authorization-dependent response served from unsegmented cache key
- CVE-2025-30353 Directus's webhook trigger flows can leak sensitive data
Sources
Also known as GHSA-2ccr-g2rv-h677.