CVE-2026-49287: Statamic CMS vulnerable to unsafe method invocation via collection sorting allows data destruction
Impact
The fix for GHSA-4jjr-vmv7-wh4w was incomplete. It addressed the issue in the query builder, but the same protection was not applied to in-memory collection sorting. Manipulating sort parameters could result in the loss of content and assets.
This requires a front-end template that passes request input into a tag's sort parameter. It is not exploitable by default — a template would need to be explicitly set up to sort by a visitor-controlled value.
Patches
This has been fixed in 5.73.23 and 6.20.0.
Other sources
Statamic is a Laravel and Git powered content management system (CMS). Prior to 5.73.23 and 6.20.0, the fix for CVE-2026-41175 was incomplete. It addressed the issue in the query builder, but the same protection was not applied to in-memory collection sorting. Manipulating sort parameters could result in the loss of content and assets. This requires a front-end template that passes request input into a tag's sort parameter. It is not exploitable by default — a template would need to be explicitly set up to sort by a visitor-controlled value. This has been fixed in 5.73.23 and 6.20.0.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/statamic/cmsto a version that resolves this vulnerability.Fixed in 6.20.0 - Upgrade
Upgrade
composer/statamic/cmsto a version that resolves this vulnerability.Fixed in 5.73.23 - Upgrade
Upgrade
Statamic CMSto a version that resolves this vulnerability.Fixed in 5.73.23Patch GHSA-4jjr-vmv7-wh4w - Upgrade
Upgrade
Statamic CMSto a version that resolves this vulnerability.Fixed in 6.20.0Patch GHSA-4jjr-vmv7-wh4w
Event History
Frequently Asked Questions
What is the severity of CVE-2026-49287?
The severity of CVE-2026-49287 is high, with a score of 7.4.
How do I fix CVE-2026-49287?
To fix CVE-2026-49287, upgrade Statamic to version 5.73.23 or 6.20.0 or later.
What does CVE-2026-49287 affect?
CVE-2026-49287 affects the Statamic CMS and specifically involves unsafe method invocation during collection sorting.
What are the risks associated with CVE-2026-49287?
The risks associated with CVE-2026-49287 include potential data destruction due to unsafe manipulation of sort parameters.
Who is affected by CVE-2026-49287?
Any users running versions of Statamic CMS prior to 5.73.23 and 6.20.0 are affected by CVE-2026-49287.