Skip to content
OpenAdvisories
High · 7.4 CVE-2026-49287 EUVD-2026-38057GHSA-m92m-r54r-x8r2

Statamic CMS vulnerable to unsafe method invocation via collection sorting allows data destruction

Published Jun 19, 2026 · Updated Jun 22, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
statamic cms < 5.73.23, >= 6.0.0, < 6.20.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist statamic/cms < 5.73.23 5.73.23 GHSA-m92m-r54r-x8r2
Packagist statamic/cms >= 6.0.0, < 6.20.0 6.20.0 GHSA-m92m-r54r-x8r2

References