Vulnerability · Published Jul 15, 2026 · Assigned by GitHub_M
CVE-2026-61836Directus: Authorization-dependent response served from unsegmented cache key
High 8.6
In plain English
A high-severity authorization bypass via user-controlled key in directus from directus. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | directus | 12.0.0 | GHSA-c6w9-5g5j-jh2p |
Affected products (as reported)
Weakness: CWE-524, CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/directus/directus/security/advisories/GHSA-c6w9-5g5j-jh2p x_refsource_CONFIRM
- https://github.com/directus/directus/pull/27707 x_refsource_MISC
- https://github.com/directus/directus/commit/7ba4efb97525d3af33570537c76e44baea767f13 x_refsource_MISC
- https://github.com/directus/directus/releases/tag/v12.0.0 x_refsource_MISC