Statamic: Missing file upload validation on frontend forms allows uploading disallowed file types
Package
Affected versions
< 5.74.3
>= 6.0.0, < 6.24.2
Patched versions
5.74.3
6.24.2
Description
Published to the GitHub Advisory Database
Aug 6, 2026
Reviewed
Aug 6, 2026
Last updated
Aug 6, 2026
Impact
Public frontend forms did not enforce the file upload restrictions that the Control Panel enforces, so an unauthenticated visitor could upload file types an administrator had intended to disallow through a form's
assetsorfilesfield. Forassetsfields, files could be stored on a public, web-accessible disk. Statamic's global upload allowlist still applied, so executable types suchas
.phpand.htmlremained blocked.Patches
This has been fixed in 5.74.3 and 6.24.2.
References