🛡️ CVE-2024-47822 — directus

🟡 CVSS 4.2 — Medium ✅ No Known Exploit CWE-532 NVD
4.2
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Directus inserts access token from query string into logs

Summary

Access token from query string is not redacted and is potentially exposed in system logs which may be persisted.

Details

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.

PoC

1. Set LOG_LEVEL="raw" in the environment.

2. Send a request with the access_token in the query string.

3. Notice that the access_token in req.query is not redacted.

Impact

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

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs administrative privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.

Weakness class

CVE-2024-47822 is classified as CWE-532: Insertion of Sensitive Information into Log File. Sensitive values are written to logs, which are typically kept longer and read more widely than the data warrants.

Affected software

CVE-2024-47822 is recorded against 2 packages.

  • @directus/api
  • directus (fixed in 10.13.2)

Timeline and source

Published on 14 April 2025. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)

Details

Severity Medium
CVSS Score 4.2
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
CWE CWE-532
Public Exploit ✅ No
Source NVD
Published 2025-04-14
Updated 2026-08-12
Modified 2025-04-14
Fix URL N/A

Affected Packages

Software From version Fixed in
@directus/api
directus 10.13.2

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in directus

CVE-2024-47822 is rated CVSS 4.2 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.