Payload
Payload: Client uploads could overwrite S3 objects
Payload is a free and open source headless content management system. In @payloadcms/storage-s3 versions before 3.90.0 and canary versions before 4.0.0-canary.34, an authenticated user can overwrite an existing S3 object belonging to another upload collection when client uploads are enabled for multiple collections sharing a bucket and useCompositePrefixes is false or unset. This bypasses the target collection's access controls and prior file validation. This issue is fixed in versions 3.90.0 and 4.0.0-canary.34.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.90.0
- >= 4.0.0-canary.0, < 4.0.0-canary.34
Fixed in 3.90.0, 4.0.0-canary.34
- < 3.90.0
- >= 4.0.0-canary.0, < 4.0.0-canary.34
Fixed in 3.90.0, 4.0.0-canary.34
Mitigation
Upgrade payload to 3.90.0 or 4.0.0-canary.34 or later.
Upgrade storage-s3 to 3.90.0 or 4.0.0-canary.34 or later.
References
- Vendor advisory github.com/payloadcms/payload/security/advisor…
- Patch github.com/payloadcms/payload/commit/2df8238fb…
- Release notes github.com/payloadcms/payload/releases/tag/v3.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.