directus is vulnerable to Authorization Bypass
71
High Risk
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.
You are affected if you are using a version that falls within the vulnerable range and you have TUS resumable uploads enabled.
directus is vulnerable to Authorization Bypass in versions 10.13.0 - 12.0.2.
Upgrade the directus library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant