Live threats

All CVEs / Keystonejs

CVE-2023-40027Keystonejs Keystone

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
0.7%
probability of exploitation in 30 days · percentile 47
Auth required
No
Published
Aug 15, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Keystone.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @keystone-6/core < 5.5.1 5.5.1 npm install @keystone-6/core@5.5.1

Per OSV / GitHub Advisories (GHSA-9cvc-v7wm-992c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
keystonejskeystone< 5.5.1

Official sources

References

Links published by the sources. Open them with care.