What’s Vulnerable › Vulnerabilities
CVE-2023-48217: Remote code execution via form uploads in statamic/cms
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-11-14 · updated 2026-06-17
- Weakness: CWE-94
Description
Statamic is a flat-first, Laravel + Git powered CMS designed for building websites. In affected versions certain additional PHP files crafted to look like images may be uploaded regardless of mime type validation rules. This affects front-end forms using the "Forms" feature, and asset upload fields in the control panel. Malicious users could leverage this vulnerability to upload and execute code. This issue has been patched in versions 3.4.14 and 4.34.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
- Statamic: before 3.4.14; from 4.0.0 before 4.34.0 — fixed in 3.4.14, 4.34.0
How to fix
Upgrade to a fixed version: Statamic 3.4.14, 4.34.0. Check the vendor advisory for mitigations.
References
- https://github.com/statamic/cms/commit/4c6fe041e2203a8033e5949ce4a5d9d6c0ad2411
- https://github.com/statamic/cms/security/advisories/GHSA-2r53-9295-3m86
- https://github.com/statamic/cms/commit/4c6fe041e2203a8033e5949ce4a5d9d6c0ad2411
- https://github.com/statamic/cms/security/advisories/GHSA-2r53-9295-3m86
Get alerted when CVE-2023-48217 or the next vulnerability affects your stack