{"cve":"CVE-2023-40027","nvd":{"published":"2023-08-15T18:15:10.297","modified":"2026-06-17T06:15:49.327","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-862"],"references":["https://github.com/keystonejs/keystone/commit/650e27e6e9b42abfb94c340c8470faf61f0ff284","https://github.com/keystonejs/keystone/pull/8771","https://github.com/keystonejs/keystone/security/advisories/GHSA-9cvc-v7wm-992c","https://github.com/keystonejs/keystone/commit/650e27e6e9b42abfb94c340c8470faf61f0ff284","https://github.com/keystonejs/keystone/pull/8771"],"products":["keystonejs:keystone"],"source":"nvd","synced_at":"2026-10-19T21:39:14.809778102+00:00"},"epss":{"cve":"CVE-2023-40027","score":0.00579,"percentile":0.47659,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9cvc-v7wm-992c","url":"https://osv.dev/vulnerability/GHSA-9cvc-v7wm-992c","summary":"When `ui.isAccessAllowed` is `undefined`, the `adminMeta` GraphQL query is publicly accessible","modified":"2023-11-08T04:13:16.719014Z","packages":[{"ecosystem":"npm","name":"@keystone-6/core","purl":"pkg:npm/%40keystone-6/core","ranges":["<5.5.1"],"fixed":["5.5.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}