Skip to content
Security advisoryCVE-2026-71434

Statamic: Missing file upload validation on frontend forms allows uploading disallowed file types

Moderate5.3Published Modified Original advisory

As published by the sources

Affected packages

  • Affected<5.74.3 || >=6.0.0,<6.24.2
    Fixed in5.74.36.24.2

Derived from the fixed versions above

What to do

  1. Upgrade statamic/cms to the fixed version in your release line: 5.74.3, 6.24.2.

    composer update statamic/cms --with-dependencies

To see which version you have installed, run composer show vendor/package. Running composer audit lists the known advisories that match your installed versions.

Quoted from the original advisory

Details

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 assets or files field. For assets fields, files could be stored on a public, web-accessible disk. Statamic's global upload allowlist still applied, so executable types such as .php and .html remained blocked.

Patches

This has been fixed in 5.74.3 and 6.24.2.

References

laravel.now is an independent community project. It is not affiliated with, endorsed by, sponsored by, or in any way officially connected to Laravel, Laravel LLC, Taylor Otwell, or the Laravel framework maintainers. Laravel is a trademark of Taylor Otwell. All other trademarks belong to their respective owners.

This site is operated by the makers of Lockhound. Links to Lockhound are promotional.