All reports
High

Statamic CMS's unsafe method invocation via collection sorting allows data destruction

Affected versions

Affected versions
>= 6.0.0, < 6.20.0
Fixed version
6.20.0
Affected versions
< 5.73.23
Fixed version
5.73.23

Exploitation

CVE-2026-49287

Probability of exploitation in the next 30 days: 0.46%

FIRST EPSS · 2026-11-22

Description

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.

Links

Credits

  • Eszh