Advisory

GHSA-m92m-r54r-x8r2

Also known as: CVE-2026-49287

Summary

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

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-06-26 22:15 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

statamic/cms

Packagist · All systems

Affected

  • introduced 0, fixed 5.73.23 (ecosystem)

Fixed versions

5.73.23

Fix

The export has no generic command for this ecosystem.

statamic/cms

Packagist · All systems

Affected

  • introduced 6.0.0, fixed 6.20.0 (ecosystem)

Fixed versions

6.20.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences