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.
Published: 2026-07-15
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises because Directus omits authorization data from the API cache key, so a response cached for one user or share can be served to a second requester with a different authorization context, including anonymous or other share tokens. This allows an attacker to obtain data they should not be able to see, constituting an unauthorized disclosure of sensitive information. The flaw is represented by CWE‑524 and CWE‑639.

Affected Systems

Any Directus installation running a version earlier than 12.0.0 with response caching enabled is impacted.

Risk and Exploitability

The CVSS score of 8.6 denotes high severity, while the EPSS score of less than 1 % indicates a low current exploitation probability. This vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote API access; an attacker simply needs network connectivity to the Directus instance and can trigger a cached endpoint, then retrieve the cached response that contains data they cannot normally view. No special privileges or authentication are required to exploit this flaw.

Generated by OpenCVE AI on July 31, 2026 at 03:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Directus version 12.0.0 or newer, which corrects the cache key generation logic.
  • If an upgrade cannot be performed immediately, disable response caching in the Directus configuration to eliminate the vulnerability surface.
  • Review any external or custom caching components used in your deployment and verify that they include authorization context when generating cache keys, or disable caching of authorization‑sensitive responses.

Generated by OpenCVE AI on July 31, 2026 at 03:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-c6w9-5g5j-jh2p Directus: Authorization-dependent response served from unsegmented cache key
History

Wed, 15 Jul 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Directus
Directus directus
Vendors & Products Directus
Directus directus

Wed, 15 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title Directus: Authorization-dependent response served from unsegmented cache key
Weaknesses CWE-524
CWE-639
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}


Subscriptions

Directus Directus
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-15T16:32:52.619Z

Reserved: 2026-07-10T20:28:17.511Z

Link: CVE-2026-61836

cve-icon Vulnrichment

Updated: 2026-07-15T16:30:57.671Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T03:45:04Z

Weaknesses
  • CWE-524

    Use of Cache Containing Sensitive Information

  • CWE-639

    Authorization Bypass Through User-Controlled Key