GHSA-7vg8-29qx-jgj8

Suggest an improvement
Source
https://github.com/advisories/GHSA-7vg8-29qx-jgj8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-7vg8-29qx-jgj8/GHSA-7vg8-29qx-jgj8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7vg8-29qx-jgj8
Aliases
Published
2026-10-07T20:28:59Z
Modified
2026-10-07T20:45:04Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-639"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-07T20:28:59Z",
    "nvd_published_at": "2026-10-06T17:17:23Z",
    "severity": "HIGH"
}
References

Affected packages

npm / @payloadcms/storage-s3

Package

Name
@payloadcms/storage-s3
View open source insights on deps.dev
Purl
pkg:npm/%40payloadcms/storage-s3

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.90.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-7vg8-29qx-jgj8/GHSA-7vg8-29qx-jgj8.json"

npm / @payloadcms/storage-s3

Package

Name
@payloadcms/storage-s3
View open source insights on deps.dev
Purl
pkg:npm/%40payloadcms/storage-s3

Affected 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-7vg8-29qx-jgj8/GHSA-7vg8-29qx-jgj8.json"