All vulnerabilities

Servers and applications

CVE-2026-61836

Authorization-dependent response served from unsegmented cache key

Severity
High 8.6
Published
24 Jun 2026
Last changed
28 Jul 2026
Added to UpHeron
1 Nov 2026
Fixed in
12.0.0
Exploit chance
0.5% in the next 30 daysHigher than 41% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-524Authorization bypass through a user-controlled key (IDOR) (CWE-639)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Also known as
GHSA-c6w9-5g5j-jh2p
Sources
NVD, Project advisories (GitHub)

Description

When response caching is enabled (CACHE_ENABLED=true), the cache-key derivation in api/src/utils/get-cache-key.ts includes only version, path, query, and accountability.user (plus a conditional ip). Authorization context beyond user (share, role, roles, admin, app, policies) is not part of the key.

For share tokens this is load-bearing. Directus's share-authentication flow (api/src/services/shares.ts:100-105) issues a JWT without an id claim, so api/src/utils/get-accountability-for-token.ts never assigns accountability.user, leaving it null (the default from create-default-accountability.ts). Every share token, and every anonymous request, therefore reduces to user: null in the cache-key input. Two different shares (or an anonymous request and a share token) requesting the same URL with the same query produce identical cache keys.

From directus/directus's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
DirectusServers and applications · cpe:a:monospace:directus
  • Every version before 12.0.0
DirectusServers and applications · github:directus/directus
  • Every version before 12.0.0

About Directus

The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.

From its GitHub repository.
Weekly downloads (npm)
30,924npm, 15 Nov 2026
Docker Hub pulls
50,954,770Docker Hub, 15 Nov 2026
GitHub stars
38,722GitHub, 15 Nov 2026
Forks
5,000GitHub, 15 Nov 2026
Latest release
v12.6.1GitHub, 15 Nov 2026
Released
4 Nov 2026GitHub
First published on GitHub
12 Dec 2012GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-61836
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-61836
  • GitHub Advisory Database https://github.com/advisories/GHSA-c6w9-5g5j-jh2p
  • github.com https://github.com/directus/directus/security/advisories/GHSA-c6w9-5g5j-jh2p