{"id":"GHSA-238x-w2j9-gwwr","summary":"Payload vulnerable to API key disclosure through ordinary document reads","details":"### Impact\n\nUsers with read access to other user documents could access their active API keys. An exposed key grants the target account’s permissions until rotated or disabled.\n\nYou are affected if:\n\n- An authentication collection enables `useAPIKey`.\n- Users have read access to other user documents containing active API keys.\n\n### Patches\n\nUsers should upgrade payload packages to `\u003e= 3.90.0` or `\u003e= 4.0.0-canary.34`.\n\n### Workarounds\n\nDisable `useAPIKey` or restrict users to reading only their own authentication document. Rotate any API key that may have been exposed.","aliases":["CVE-2026-105849"],"modified":"2026-10-06T16:30:04.539227369Z","published":"2026-10-06T16:18:16Z","database_specific":{"cwe_ids":["CWE-201","CWE-862"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-10-06T16:18:16Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/payloadcms/payload/security/advisories/GHSA-238x-w2j9-gwwr"},{"type":"WEB","url":"https://github.com/payloadcms/payload/commit/880d2e900be22cd66a9e939f2b3e702fa413180f"},{"type":"PACKAGE","url":"https://github.com/payloadcms/payload"},{"type":"WEB","url":"https://github.com/payloadcms/payload/releases/tag/v3.90.0"}],"affected":[{"package":{"name":"payload","ecosystem":"npm","purl":"pkg:npm/payload"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.90.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-238x-w2j9-gwwr/GHSA-238x-w2j9-gwwr.json"}},{"package":{"name":"payload","ecosystem":"npm","purl":"pkg:npm/payload"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0-canary.0"},{"fixed":"4.0.0-canary.34"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-238x-w2j9-gwwr/GHSA-238x-w2j9-gwwr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}