Vulnerabilities in pkg:npm/@payloadcms/storage-s3

PACKAGE
Advisory Identifier: GHSA-7vg8-29qx-jgj8
Advisory Summary

CVE-2026-105867 is a HIGH client uploads could overwrite s3 vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Payload libraries in the npm ecosystem. The issue involves client uploads could overwrite s3 objects. Remediation is available by upgrading affected packages to version 3.90.0, 4.0.0-canary.34.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@payloadcms/storage-s3

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@payloadcms/storage-s3. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-7vg8-29qx-jgj8 CVE-2026-105867 HIGH Payload: Client uploads could overwrite S3 objects
GHSA-frq9-7j6g-v74x CVE-2026-34750 MODERATE Payload has Insufficient Filename Validation in Client-Upload Signed-URL Endpoints

CVE-2026-105867 at a Glance

CVE Identifier CVE-2026-105867
GHSA Identifier GHSA-7vg8-29qx-jgj8
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product Payload
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-105867

To remediate this vulnerability, upgrade all affected Payload dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@payloadcms/storage-s3 fixed: 3.90.0
npm install @payloadcms/storage-s3@3.90.0
@payloadcms/storage-s3 fixed: 4.0.0-canary.34
npm install @payloadcms/storage-s3@4.0.0-canary.34
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @payloadcms/storage-s3

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-105867, inspect your project dependencies using npm:

npm ls @payloadcms/storage-s3

Analyze the terminal output to locate any version of Payload in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.90.0), your application is affected.

Note: The npm ls @payloadcms/storage-s3 command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Payload, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-105867 Affected Payload Versions

2 component(s)
Fixed Versions:
3.90.04.0.0-canary.34
Product / Package Ecosystem Affected Versions Fixed Version
@payloadcms/storage-s3
npm
< 3.90.0
3.90.0
@payloadcms/storage-s3
npm
≥ 4.0.0-canary.0
< 4.0.0-canary.34
4.0.0-canary.34

References

Frequently Asked Questions

What is CVE-2026-105867?
CVE-2026-105867 is a security vulnerability in Payload involving Client uploads could overwrite S3 objects under CWE-639: Authorization Bypass Through User-Controlled Key.
Which Payload versions are affected?
Affected versions include releases prior to 3.90.0, 4.0.0-canary.34 across affected packages: @payloadcms/storage-s3.
What version fixes CVE-2026-105867?
Upgrading to 3.90.0, 4.0.0-canary.34 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @payloadcms/storage-s3 affected?
Yes, @payloadcms/storage-s3 is affected in releases prior to 3.90.0, 4.0.0-canary.34. Upgrade your dependency to 3.90.0, 4.0.0-canary.34 or later.
What CWE is associated with CVE-2026-105867?
CVE-2026-105867 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check npm dependencies for CVE-2026-105867?
Run the dependency tree command: 'npm ls @payloadcms/storage-s3'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7vg8-29qx-jgj8",
  "modified" : "2026-10-07T20:28:59Z",
  "published" : "2026-10-07T20:28:59Z",
  "aliases" : [ "CVE-2026-105867" ],
  "summary" : "Payload: Client uploads could overwrite S3 objects",
  "details" : "### Impact\nAn authenticated user could overwrite an existing S3 object belonging to another upload collection, bypassing that collection’s access controls and prior file validation.\n\nYou are affected if ALL of these are true:\n- Client uploads are enabled for multiple collections that share an S3 bucket.\n- useCompositePrefixes is not configured or is set to `false`.\n\n### Patches\nUsers should upgrade Payload packages to `>= 3.90.0` or `>= 4.0.0-canary.34`.\n\n### Workarounds\nDisable client uploads until you can upgrade.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@payloadcms/storage-s3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.90.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@payloadcms/storage-s3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0-canary.0"
      }, {
        "fixed" : "4.0.0-canary.34"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/payloadcms/payload/security/advisories/GHSA-7vg8-29qx-jgj8"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-105867"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/payloadcms/payload/commit/2df8238fbf17edfce335c399b90bf524ba9906a2"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/payloadcms/payload"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/payloadcms/payload/releases/tag/v3.90.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-07T20:28:59Z",
    "nvd_published_at" : "2026-10-06T17:17:23Z"
  }
}