Home › Vulnerabilities › directus
Directus: two authorization flaws enable file overwrite and IP-policy bypass
NVD published two Directus authorization flaws together. One lets authenticated users overwrite other users' files on instances with TUS uploads enabled, and the other lets users restricted by IP access policies gain administrator access over the GraphQL WebSocket.
What to look into
- 2 vulnerabilities in directus: 1 high, 1 medium (CVSS up to 7.1).
- None of them is known to be exploited yet.
- Start with CVE-2026-142071 (7.1 high): Directus 10.13.0 before 12.1.0 contains an incomplete fix for CVE-2026-35412 where the TUS resumable upload endpoint checks item-level access for the id upload metadata key but not for the adjacent r… An attacker with a normal user account can exploit this over the network, without any user action.
- 0 of 2 can be attacked over the network without logging in.
- Kinds of flaws: Authorization Bypass Through User-Controlled Key; Incorrect Authorization.
Key points
- CVE-2026-142071 (HIGH, 7.1) lets authenticated users overwrite other users' files via replaceid on TUS-enabled instances.
- CVE-2026-142072 (MEDIUM, 6.8) lets users bypass ipaccess restrictions through the GraphQL WebSocket.
- Affected ranges: 10.13.0 before 12.1.0, and 11.0.0 before 12.4.0.
- The sources do not state active exploitation or workarounds.
Two authorization flaws
The batch contains two NVD records for Directus, both rated for authorization problems rather than for code execution. The more severe one, CVE-2026-142071 (HIGH, CVSS 7.1), is described as an incomplete fix for CVE-2026-35412. The TUS resumable upload endpoint checks item-level access for the id metadata key but not for the adjacent replaceid key. Upload completion handlers use replaceid to rewrite the referenced file through internal services that run without accountability. According to the record, the client-supplied filenamedisk is also not normalized or checked for uniqueness.
The second record, CVE-2026-142072 (MEDIUM, CVSS 6.8), concerns GraphQL WebSocket subscriptions. The connection does not carry the client's IP address, user agent, or origin into its accountability, so policies limited by ipaccess treat the connection as unrestricted. A global access cache keyed without the client IP reportedly extends that elevated result to the same user's REST and GraphQL HTTP requests.
Who is affected
CVE-2026-142071 affects Directus 10.13.0 before 12.1.0 on instances with TUS_ENABLED set. Exploitation requires an authenticated user with create and update permissions on directus_files, who can name another user's file id in replaceid. CVE-2026-142072 affects Directus 11.0.0 before 12.4.0. It applies to users whose adminaccess or appaccess policy is restricted by ipaccess, who can connect from outside the allowed network. The records state that such actions are logged without IP, user agent, or origin.
What administrators should do
The records give fixed versions 12.1.0 and 12.4.0 but do not say whether one upgrade covers both issues. Neither record states that the flaws are known to be exploited, and no workaround or detection guidance is given in the sources.
What to do
- Upgrade instances running 10.13.0 before 12.1.0 to 12.1.0 or later, and check whether TUS_ENABLED is set.
- Upgrade instances running 11.0.0 before 12.4.0 to 12.4.0 or later if they use ipaccess-restricted admin or app policies.
- Review file-permission and ipaccess policy assignments, since the records describe the flaws as needing authenticated accounts.
The 2 vulnerabilities
- CVE-2026-142071 7.1 Directus 10.13.0 before 12.1.0 contains an incomplete fix for CVE-2026-35412 where the TUS resumable upload endpoint checks item-level access for the id upload metadata key but not for the adjacent replaceid key, which the upload completio…
- CVE-2026-142072 6.8 Directus 11.0.0 before 12.4.0 contains an incorrect authorization vulnerability in its GraphQL WebSocket subscription handling, which does not carry the client's IP address, user agent, or origin into the connection's accountability, so po…
Frequently asked questions
How many directus vulnerabilities were published on December 2, 2026?
2 vulnerabilities: 1 high, 1 medium, with CVSS scores up to 7.1.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-142071 (CVSS 7.1): Directus 10.13.0 before 12.1.0 contains an incomplete fix for CVE-2026-35412 where the TUS resumable upload endpoint checks item-level access for the id upload metadata key but not for the adjacent r…