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. 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | statamic/cms | < 5.74.3, >= 6.0.0, < 6.24.2 | 5.74.3, 6.24.2 |
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
- https://github.com/statamic/cms/releases/tag/v5.74.3
- https://github.com/statamic/cms/releases/tag/v6.24.2
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N- Weakness (CWE)
CWE-434- Platform
- Composer
- Package
statamic/cms- Disclosed
- 06.08.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-qhr7-v3xp-vw9m - CC BY 4.0
Vulnerability history: statamic/cms
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 44
- First → latest
- 03.2022 08.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 15
- Medium 25
- Low 3
Disclosures per year
- 2022: 2
- 2023: 4
- 2024: 3
- 2025: 1
- 2026: 34
-
Statamic: Missing file upload validation on frontend forms allows uploading disallowed file types this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.