Advisory

GHSA-7vg8-29qx-jgj8

Also known as: CVE-2026-105867

Summary

Payload: Client uploads could overwrite S3 objects

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-10-07 20:28 UTC
Modified
2026-10-07 20:45 UTC

Affected packages and fixes

@payloadcms/storage-s3

npm · All systems

Affected

  • introduced 0, fixed 3.90.0 (semver)

Fixed versions

3.90.0

Fix

@payloadcms/storage-s3

npm · All systems

Affected

  • introduced 4.0.0-canary.0, fixed 4.0.0-canary.34 (semver)

Fixed versions

4.0.0-canary.34

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences