CVE-2026-34750
JSON

6.5medium

Payload has Insufficient Filename Validation in Client-Upload Signed-URL Endpoints

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.39% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-frq9-7j6g-v74x

Description

Payload is a free and open source headless content management system. Prior to version 3.78.0 in @payloadcms/storage-azure, @payloadcms/storage-gcs, @payloadcms/storage-r2, and @payloadcms/storage-s3, 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. This issue has been patched in version 3.78.0 for @payloadcms/storage-azure, @payloadcms/storage-gcs, @payloadcms/storage-r2, and @payloadcms/storage-s3.

Affected

Product or packageVersionsReported by
payloadcms payload< 3.78.0, before 3.78.0CVE List, NVD
@payloadcms/storage-azure (npm)before 3.78.0GitHub Advisory Database
@payloadcms/storage-gcs (npm)before 3.78.0GitHub Advisory Database
@payloadcms/storage-r2 (npm)before 3.78.0GitHub Advisory Database
@payloadcms/storage-s3 (npm)before 3.78.0GitHub Advisory Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Payload is a free and open source headless content management system. Prior to version 3.78.0 in @payloadcms/storage-azure, @payloadcms/storage-gcs, @payloadcms/storage-r2, and @payloadcms/storage-s3, 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. This issue has been patched in version 3.78.0 for @payloadcms/storage-azure, @payloadcms/storage-gcs, @payloadcms/storage-r2, and @payloadcms/storage-s3.

GitHub Advisory Database
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.
NVD (es)

Payload es un sistema de gestión de contenido sin interfaz de código abierto y gratuito. Antes de la versión 3.78.0 en @payloadcms/storage-azure, @payloadcms/storage-gcs, @payloadcms/storage-r2 y @payloadcms/storage-s3, los puntos finales de URL firmadas para carga de cliente para S3, GCS, Azure y R2 no saneaban correctamente los nombres de archivo. Un atacante podría crear nombres de archivo para escapar de la ubicación de almacenamiento prevista. Este problema ha sido parcheado en la versión 3.78.0 para @payloadcms/storage-azure, @payloadcms/storage-gcs, @payloadcms/storage-r2 y @payloadcms/storage-s3.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-34750 changed 2026-04-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-frq9-7j6g-v74x changed 2026-04-01CC-BY-4.0
NVDCVE-2026-34750 changed 2026-10-25Public domain