Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/keystone@4.2.1
purl pkg:npm/keystone@4.2.1
Next non-vulnerable version None.
Latest non-vulnerable version None.
Risk 3.1
Vulnerabilities affecting this package (2)
Vulnerability Summary Fixed by
VCID-d888-42qr-hueg
Aliases:
CVE-2022-29354
Unrestricted Upload of File with Dangerous Type An arbitrary file upload vulnerability in the file upload module of Keystone v4.2.1 allows attackers to execute arbitrary code via a crafted file. There are no reported fixed by versions.
VCID-ppy6-36tw-sqft
Aliases:
CVE-2023-40027
GHSA-9cvc-v7wm-992c
Missing Authorization 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.
5.5.1
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T04:02:26.776861+00:00 GitLab Importer Affected by VCID-ppy6-36tw-sqft https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/keystone/CVE-2023-40027.yml 38.6.0
2026-06-02T04:43:37.119685+00:00 GitLab Importer Affected by VCID-d888-42qr-hueg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/keystone/CVE-2022-29354.yml 38.6.0