CVE-2024-52600: Statamic CMS has a Path Traversal in Asset Upload
Assets uploaded with appropriately crafted filenames may result in them being placed in a location different than what was configured. Impact - Affects front-end forms with assets fields. - Affects other places where assets can be uploaded, although users would need upload permissions anyway.
Published Nov 19, 2024
Affected packages
statamic/cms
- Ecosystem
- Composer (PHP)
- Affected
- <= 5.16.0
- Fixed in
- 5.17.0
- Check
composer show statamic/cms
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Assets uploaded with appropriately crafted filenames may result in them being placed in a location different than what was configured.
Impact
- Affects front-end forms with
assetsfields. - Affects other places where assets can be uploaded, although users would need upload permissions anyway.
- Files can be uploaded so they would be located on the server in a different location, and potentially override existing files.
- Traversal _outside_ an asset container was not possible.
Patches
This has been fixed in 5.17.0.
Credited to SamSchroderBSG.
References
- https://github.com/statamic/cms/security/advisories/GHSA-p7f6-8mcm-fwv3
- https://github.com/statamic/cms/commit/0c07c10009a2439c8ee56c8faefd1319dc6e388d
- https://github.com/statamic/cms/commit/400875b20f40e1343699d536a432a6fc284346da
- https://github.com/statamic/cms/commit/4cc2c9bd0f39a93b3fc7e9ef0f12792576fd380d
- https://nvd.nist.gov/vuln/detail/CVE-2024-52600
- https://github.com/advisories/GHSA-p7f6-8mcm-fwv3
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-71434
Statamic: Missing file upload validation on frontend forms allows uploading disallowed file types
medium5.3Aug 6, 2026CVE-2026-71435
Statamic: Stored Cross-Site Scripting in Automagic Form Notification Email Template
medium6.1Aug 6, 2026
