Vulnerability · Published Jun 19, 2026 · Assigned by GitHub_M
CVE-2026-49287Statamic CMS vulnerable to unsafe method invocation via collection sorting allows data destruction
High 7.4
In plain English
A high-severity security flaw in cms from statamic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | statamic/cms | 5.73.23 | GHSA-m92m-r54r-x8r2 |
| Packagist | statamic/cms | 6.20.0 | GHSA-m92m-r54r-x8r2 |
Affected products (as reported)
Weakness: CWE-470 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
References
- https://github.com/statamic/cms/security/advisories/GHSA-m92m-r54r-x8r2 x_refsource_CONFIRM
- https://github.com/statamic/cms/security/advisories/GHSA-4jjr-vmv7-wh4w x_refsource_MISC