# CVE-2024-47822: Directus inserts access token from query string into logs

- Severity: Medium 4.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-08T17:54:21.088Z
- Modified: 2026-06-17T07:57:49.017Z
- Also known as: GHSA-vw58-ph65-6rxp
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- directus directus: < 10.13.2; before 10.13.2
- @directus/api (npm): before 21.0.0
- monospace directus: before 10.13.2

## Every score

- GitHub_M: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/directus/directus/security/advisories/GHSA-vw58-ph65-6rxp> (exploit, vendor-advisory, web)
- <https://github.com/directus/directus/commit/2e893f9c576d5a02506272fe2c0bcc12e6c58768> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-47822> (advisory)
- <https://github.com/directus/directus> (package)

## Sources

- CVE List: [CVE-2024-47822](https://www.cve.org/CVERecord?id=CVE-2024-47822), CVE Terms of Use, modified 2025-04-14
- GitHub Advisory Database: [GHSA-vw58-ph65-6rxp](https://github.com/advisories/GHSA-vw58-ph65-6rxp), CC-BY-4.0, modified 2025-04-14
- NVD: [CVE-2024-47822](https://nvd.nist.gov/vuln/detail/CVE-2024-47822), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47822 · Whole record: https://cve.day/CVE-2024-47822.json · Rebuilt by cve.day 2026-11-25T22:58:46.321Z
