Intel

AIKIDO-2026-339674

directus is vulnerable to Authorization Bypass

GHSA-xjxq-pj7h-g676Published Aug 6, 2026
August 6, 2026

71

CVE Score

High

Authorization Bypass

Are you affected? Scan for Free

TL;DR

With TUS resumable uploads enabled, the endpoint did not enforce item-level authorization on the file targeted by an upload replacement. An earlier fix validated the id upload metadata key, but the completion handlers acted on an adjacent replace_id key that was never checked against the caller, and the referenced record was rewritten by an internal service running without accountability. An authenticated user holding create and update permission on files could overwrite any other user's file contents and privileged metadata by naming the victim's file id, destroying the original object and its thumbnails. The fix enforces authorization on the replacement target and applies storage path and uniqueness checks.

How do I fix this?

Upgrade the directus library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you have TUS resumable uploads enabled.

Package

Versions

10.13.0 - 12.0.2

Fixed in 12.1.0

Background info

directus is vulnerable to Authorization Bypass in versions 10.13.0 - 12.0.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea