Intel

AIKIDO-2026-823759

directus is vulnerable to Missing Authorization

Missing AuthorizationGHSA-p623-wgx3-wxp8 Published Yesterday

65

Medium Risk

This Affects:

JSdirectus
0.0.1 - 12.0.2
Fixed in 12.1.0
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

directus is vulnerable to Missing Authorization in versions 0.0.1 - 12.0.2.

How to fix this

Upgrade the directus library to the patch version.