Payload has Insufficient Filename Validation in Client-Upload Signed-URL Endpoints
Impact
The client-upload signed-URL endpoints for S3, GCS, Azure, and R2 did not properly sanitize filenames. An attacker could craft filenames to escape the intended storage location.
Consumers are affected if ALL of these are true:
-
Payload version < v3.78.0
-
Using client-upload signed-URL endpoints for any supported storage adapter
Patches
This vulnerability has been patched in v3.78.0. Filename validation has been hardened for client uploads.
Consumers should upgrade to v3.78.0 or later.
Workarounds
Consumers can upgrade:
- Limit access to client-upload signed-URL endpoints to trusted users only.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | @payloadcms/storage-azure | < 3.78.0 | 3.78.0 |
| npm package | @payloadcms/storage-gcs | < 3.78.0 | 3.78.0 |
| npm package | @payloadcms/storage-r2 | < 3.78.0 | 3.78.0 |
| npm package | @payloadcms/storage-s3 | < 3.78.0 | 3.78.0 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-22- Platform
- npm
- Package
@payloadcms/storage-azure, @payloadcms/storage-gcs, @payloadcms/storage-r2- Disclosed
- 01.04.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-frq9-7j6g-v74x - CC BY 4.0
Vulnerability history: @payloadcms/storage-s3
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 04.2026 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2026: 2
-
Payload has Insufficient Filename Validation in Client-Upload Signed-URL Endpoints this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.