CVE-2024-47822
published medium CVSS 3.1 · 4.2Directus inserts access token from query string into logs
Package status and fixes
Description
Directus is a real-time API and App dashboard for managing SQL database content. Access tokens from query strings are not redacted and are potentially exposed in system logs which may be persisted. The access token in `req.query` is not redacted when the `LOG_STYLE` is set to `raw`. If these logs are not properly sanitized or protected, an attacker with access to it can potentially gain administrative control, leading to unauthorized data access and manipulation. This impacts systems where the `LOG_STYLE` is set to `raw`. The `access_token` in the query could potentially be a long-lived static token. Users with impacted systems should rotate their static tokens if they were provided using query string. This vulnerability has been patched in release version 10.13.2 and subsequent releases as well. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| directus | directus | < 10.13.2 (affected) | GitHub_M · cna |
| directus | directus | 0 to < 10.13.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-532 CWE-532: Insertion of Sensitive Information into Log File
References
2Provider assertions
2GitHub_M · cna
Directus inserts access token from query string into logs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 494b87a113ec0692a6f62b412cd9f152befd9eece8dec536d463fb71cb362ae5
- Ingested
- 23 Sep 2026, 08:28:35 UTC
- Source record
- Official CVE record