directus is vulnerable to Missing Authorization
65
CVE Score
Medium
Missing Authorization
Several service classes override the base item mutation methods to perform cleanup such as nulling foreign keys or clearing caches before delegating to the superclass, where the caller's permission check runs. The side effects were therefore applied before authorization and persisted even when the request was subsequently rejected with a permission error. An unauthenticated caller who knows a flow, user, or share identifier could permanently disconnect a flow's operation chain, strip authorship metadata from other users' rows, or repeatedly flush the permissions cache. The fix evaluates access before performing any side effect or defers it until after the authorized mutation succeeds.
Upgrade the directus library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 12.0.2
Fixed in 12.1.0directus is vulnerable to Missing Authorization in versions 0.0.1 - 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.