CVE-2026-105867: Payload: Client uploads could overwrite S3 objects
Impact An authenticated user could overwrite an existing S3 object belonging to another upload collection, bypassing that collection’s access controls and prior file validation. You are affected if ALL of these are true: - Client uploads are enabled for multiple collections that share an S3 bucket. - useCompositePrefixes is not configured or is set to false.
Published Oct 7, 2026
Affected packages
@payloadcms/storage-s3
- Ecosystem
- npm
- Affected
- < 3.90.0
- Fixed in
- 3.90.0
- Check
npm ls @payloadcms/storage-s3
@payloadcms/storage-s3
- Ecosystem
- npm
- Affected
- >= 4.0.0-canary.0, < 4.0.0-canary.34
- Fixed in
- 4.0.0-canary.34
- Check
npm ls @payloadcms/storage-s3
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
An authenticated user could overwrite an existing S3 object belonging to another upload collection, bypassing that collection’s access controls and prior file validation.
You are affected if ALL of these are true:
- Client uploads are enabled for multiple collections that share an S3 bucket.
- useCompositePrefixes is not configured or is set to
false.
Patches
Users should upgrade Payload packages to >= 3.90.0 or >= 4.0.0-canary.34.
Workarounds
Disable client uploads until you can upgrade.
Credited to koyokr.
References
- https://github.com/payloadcms/payload/security/advisories/GHSA-7vg8-29qx-jgj8
- https://nvd.nist.gov/vuln/detail/CVE-2026-105867
- https://github.com/payloadcms/payload/commit/2df8238fbf17edfce335c399b90bf524ba9906a2
- https://github.com/payloadcms/payload/releases/tag/v3.90.0
- https://github.com/advisories/GHSA-7vg8-29qx-jgj8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
