Directus
Directus: Authorization-dependent response served from unsegmented cache key
Directus is a real-time API and App dashboard for managing SQL database content. Prior to 12.0.0, when response caching is enabled, the cache-key derivation in api/src/utils/get-cache-key.ts includes version, path, query, and accountability.user but omits authorization context such as share, role, roles, admin, app, and policies. Directus share tokens and anonymous requests can both reduce to user null, so different shares or anonymous clients requesting the same URL and query can receive a permission-filtered cached response without permission re-evaluation. This issue is fixed in version 12.0.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 12.0.0
Fixed in 12.0.0
Mitigation
Upgrade directus to 12.0.0 or later.
References
- Vendor advisory github.com/directus/directus/security/advisori…
- Patch github.com/directus/directus/pull/27707
- Patch github.com/directus/directus/commit/7ba4efb975…
1 more
- Release notes github.com/directus/directus/releases/tag/v12.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.