Advisories for Npm/@Payloadcms/Storage-S3 package

2026

Payload: Client uploads could overwrite S3 objects

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.