CVE-2023-40027: keystonejs keystone Missing Authorization
Vulnerability summary
CVE-2023-40027 is a medium (CVSS 5.3) Missing Authorization vulnerability in keystonejs keystone. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 46.5% of scored vulnerabilities.
Timeline
- 15-08-2023PublishedVulnerability first disclosed.
- 02-10-2024Last modifiedVulnerability information updated.
Description
Keystone is an open source headless CMS for Node.js — built with GraphQL and React. When `ui.isAccessAllowed` is set as `undefined`, the `adminMeta` GraphQL query is publicly accessible (no session required). This is different to the behaviour of the default AdminUI middleware, which by default will only be publicly accessible (no session required) if a `session` strategy is not defined. This vulnerability does not affect developers using the `@keystone-6/auth` package, or any users that have written their own `ui.isAccessAllowed` (that is to say, `isAccessAllowed` is not `undefined`). This vulnerability does affect users who believed that their `session` strategy will, by default, enforce that `adminMeta` is inaccessible by the public in accordance with that strategy; akin to the behaviour of the AdminUI middleware. This vulnerability has been patched in `@keystone-6/core` version `5.5.1`. Users are advised to upgrade. Users unable to upgrade may opt to write their own `isAccessAllowed` functionality to work-around this vulnerability.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.58%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
0.00 pp
From 0.58% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
@keystone-61 product
- core< 5.5.1
Keystonejs1 product
- keystone< 5.5.1
2 vendors · 2 products
References
6 links- github.com/keystonejs/keystone/security/advisories/GHSA-9cvc-v7wm-992cX Refsource CONFIRMWEBPatchVendor Advisory
- github.com/keystonejs/keystone/commit/650e27e6e9b42abfb94c340c8470faf61f0ff284X Refsource MISCWEBPatch