{"id":"CVE-2022-39322","aliases":["CVE-2022-39322","GHSA-6mhr-52mv-6v6f"],"related":[],"kind":"vulnerability","state":"published","title":"@keystone-6/core vulnerable to field-level access-control bypass for multiselect field","summary":"@keystone-6/core is a core package for Keystone 6, a content management system for Node.js. Starting with version 2.2.0 and prior to version 2.3.1, users who expected their `multiselect` fields to use the field-level access control - if configured - are vulnerable to their field-level access control not being used. List-level access control is not affected. Field-level access control for fields other than `multiselect` are not affected. Version 2.3.1 contains a fix for this issue. As a workaround, stop using the `multiselect` field.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@keystone-6/core is a core package for Keystone 6, a content management system for Node.js. Starting with version 2.2.0 and prior to version 2.3.1, users who expected their `multiselect` fields to use the field-level access control - if configured - are vulnerable to their field-level access control not being used. List-level access control is not affected. Field-level access control for fields other than `multiselect` are not affected. Version 2.3.1 contains a fix for this issue. As a workaround, stop using the `multiselect` field.","source":"cvelist"},{"lang":"en","text":"#### Impact\n\n`@keystone-6/core@2.2.0 || 2.3.0` users who are using the `multiselect` field, and provided field-level access control - are vulnerable to their field-level access control not being used.\n\nList-level access control is **NOT** affected.\n\nField-level access control for fields other than `multiselect` are **NOT** affected.\n\nExample, **you are vulnerable if** you are using field-level access control on a `multiselect` like the following:\n```ts\nconst yourList = list({\n  access: {\n    // this is list-level access control, this is NOT impacted\n  },\n  fields: {\n    yourFieldName: multiselect({\n      // this is field-level access control, for multiselect fields\n      //   this is vulnerable\n      access: {\n        create: ({ session }) => session?.data.isAdmin,\n        update: ({ session }) => session?.data.isAdmin,\n      },\n      options: [\n        { value: 'apples', label: 'Apples' },\n        { value: 'oranges', label: 'Oranges' },\n      ],\n      // ...\n    }),\n    // ...\n  },\n  // ...\n});\n```\n\n#### Mitigation\nPlease upgrade to `@keystone-6/core >= 2.3.1`, where this vulnerability has been closed.\n\n#### Workarounds\nIf for some reason you cannot upgrade your dependencies, you should stop using the `multiselect` field.\n\n#### Credits\nThanks to [Marek R](https://github.com/marekryb) for reporting and submitting the pull request to fix this problem.\n\nIf you have any questions around this security advisory, please don't hesitate to contact us at [security@keystonejs.com](mailto:security@keystonejs.com), or [open an issue on GitHub](https://github.com/keystonejs/keystone/issues/new/choose).\n\nIf you have a security flaw to report for any software in this repository, please see our [SECURITY policy](https://github.com/keystonejs/keystone/blob/main/SECURITY.md).","format":"markdown","source":"ghsa"},{"lang":"es","text":"keystone-6/core es un paquete central para Keystone 6, un sistema de administración de contenidos para Node.js. A partir de versiones 2.2.0 anteriores a 2.3.1, los usuarios que esperaban que sus campos \"multiselect\" usaran el control de acceso a nivel de campo -si estaba configurado- son vulnerables a que su control de acceso a nivel de campo no sea usado. El control de acceso a nivel de lista no está afectado. El control de acceso a nivel de campo para los campos que no sean \"multiselect\" no está afectado. La versión 2.3.1 contiene una corrección para este problema. Como mitigación, deje de usar el campo \"multiselect\"","source":"nvd"}],"published":"2022-10-18T17:12:46.000Z","modified":"2026-06-17T04:58:08.513Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-285","CWE-863"],"affected":[{"ranges":[{"version":">= 2.2.0, < 2.3.1","status":"affected"}],"vendor":"keystonejs","product":"keystone","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.2.0","status":"affected","fixed":"2.3.1"}],"ecosystem":"npm","package":"@keystone-6/core","purl":"pkg:npm/%40keystone-6/core","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.2.0","fixed":"2.3.1"}],"vendor":"keystonejs","product":"keystone","cpe":"cpe:2.3:a:keystonejs:keystone:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/keystonejs/keystone/security/advisories/GHSA-6mhr-52mv-6v6f","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keystonejs/keystone/commit/65c6ee3deef23605fc72b80230908696a7a65e7c","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39322","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keystonejs/keystone","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-04-22T15:36:41.108Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39322","url":"https://www.cve.org/CVERecord?id=CVE-2022-39322","licence":"CVE Terms of Use","modified":"2025-04-22T17:17:35.770Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6mhr-52mv-6v6f","url":"https://github.com/advisories/GHSA-6mhr-52mv-6v6f","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:18.824Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39322","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39322","licence":"Public domain","modified":"2026-06-17T04:58:08.513Z"}],"updatedAt":"2026-11-25T22:58:15.994Z","epss":{"score":0.01493,"percentile":0.74899,"date":"2026-12-01T12:00:22.000Z"}}