directus is vulnerable to Authorization Bypass
71
CVE Score
High
Authorization Bypass
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.
Upgrade the directus library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you have TUS resumable uploads enabled.
10.13.0 - 12.0.2
Fixed in 12.1.0directus is vulnerable to Authorization Bypass in versions 10.13.0 - 12.0.2.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.