high

CVE-2026-49287

Packagist · statamic/cms

Summary

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

Severity
high
CVSS
7.4
EPSS
0.5% (p38)
CWE
CWE-470
Also known as
GHSA-m92m-r54r-x8r2
Published
2026-06-26
Updated
2026-06-26

Advisory details

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.

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.