Skip to main content
Menu
Advisories

Cloud storage prefix handling could allow file overwrites

GHSA-63FC-8FMV-HXVRPublished Updated GitHub

Description

Impact

Cloud storage uploads could overwrite existing files in applications that scope filename uniqueness to an upload prefix.

The uploader does not need permission to edit the existing upload.

Patches

Upgrade to Payload 3.94.2 or later on 3.x or move to a 4.x beta.

Workarounds

If you can’t upgrade immediately, restrict uploads on affected collections to trusted users.

Affected versions

References

GitHub · payloadcms/payload