{"schema_version":"1.9.0","id":"GHSA-p223-2wr2-j562","published":"2026-10-07T20:29:09Z","modified":"2026-10-07T20:45:06.343437500Z","aliases":["CVE-2026-105865"],"summary":"Payload: Incomplete validation during the upload file lifecycle","details":"## Impact\nUnder certain conditions, an authenticated user with permission to modify uploads could cause unintended files to be removed during file cleanup. This may result in data loss or service disruption.\n\nYou are affected if:\n- You use Payload upload collections with local file storage.\n- Untrusted authenticated users can update or delete uploads.\n\nDeployments that restrict upload management to trusted users are less exposed.\n\n## Patches\nPayload now validates uploaded filenames and ensures file cleanup remains within the configured upload directory.\n\nUsers should upgrade Payload packages to `>= 3.90.0` or `>= 4.0.0-canary.34`.\n\n## Workarounds\nRestrict upload update and deletion operations to trusted users and validate submitted filenames. These measures are temporary mitigations. Upgrading to a patched version is recommended.","affected":[{"package":{"name":"payload","ecosystem":"npm","purl":"pkg:npm/payload"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.90.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-p223-2wr2-j562/GHSA-p223-2wr2-j562.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-p223-2wr2-j562/GHSA-p223-2wr2-j562.json"}}],"references":[{"type":"WEB","url":"https://github.com/payloadcms/payload/security/advisories/GHSA-p223-2wr2-j562"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105865"},{"type":"WEB","url":"https://github.com/payloadcms/payload/commit/6b74418f628fa633c2f297e5919a9f91b383dc11"},{"type":"PACKAGE","url":"https://github.com/payloadcms/payload"},{"type":"WEB","url":"https://github.com/payloadcms/payload/releases/tag/v3.90.0"}],"database_specific":{"cwe_ids":["CWE-22","CWE-73"],"github_reviewed":true,"github_reviewed_at":"2026-10-07T20:29:09Z","nvd_published_at":"2026-10-06T17:17:22Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"}]}