CVE-2026-71434: Statamic: Missing file upload validation on frontend forms allows uploading disallowed file types
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.
Published Aug 6, 2026
Affected packages
statamic/cms
- Ecosystem
- Composer (PHP)
- Affected
- < 5.74.3
- Fixed in
- 5.74.3
- Check
composer show statamic/cms
statamic/cms
- Ecosystem
- Composer (PHP)
- Affected
- >= 6.0.0, < 6.24.2
- Fixed in
- 6.24.2
- Check
composer show statamic/cms
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to ya3raj.
References
- https://github.com/statamic/cms/security/advisories/GHSA-qhr7-v3xp-vw9m
- https://github.com/statamic/cms/pull/14958
- https://github.com/statamic/cms/commit/8be7b6c961536d3173ec4e0965d17b1cf820b7ae
- https://github.com/statamic/cms/releases/tag/v5.74.3
- https://github.com/statamic/cms/releases/tag/v6.24.2
- https://github.com/advisories/GHSA-qhr7-v3xp-vw9m
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-64662
Statamic: Missing authorization on navigation endpoint allows disclosure of restricted entries
medium6.5Aug 6, 2026CVE-2026-64663
Statamic: Unsafe method invocation via Antlers template resolution allows data destruction
medium6.5Aug 6, 2026CVE-2026-64664
Statamic: Missing authorization on Control Panel endpoint allows disclosure of user existence
medium4.3Aug 6, 2026CVE-2026-64665
Statamic: Account takeover via OAuth email matching without email-verification check
high8.1Aug 6, 2026CVE-2026-71435
Statamic: Stored Cross-Site Scripting in Automagic Form Notification Email Template
medium6.1Aug 6, 2026CVE-2026-71293
Statamic CMS exposes two-factor recovery codes through dynamic Antlers rendering
medium6.2No fixAug 5, 2026
