CVE-2026-49287
JSON

7.4high

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

Severity
7.4high CVSS:3.1 by GitHub_M
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-m92m-r54r-x8r2

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

Product or packageVersionsReported by
statamic cms< 5.73.23, >= 6.0.0, < 6.20.0CVE List
statamic/cms (Packagist)before 5.73.23, from 6.0.0 before 6.20.0GitHub Advisory Database

All scores

GitHub_M7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHub7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-470

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.

NVD (es)

Statamic es un sistema de gestión de contenido (CMS) impulsado por Laravel y Git. Antes de las versiones 5.73.23 y 6.20.0, la solución para CVE-2026-41175 era incompleta. Abordaba el problema en el constructor de consultas, pero la misma protección no se aplicó a la ordenación de colecciones en memoria. La manipulación de los parámetros de ordenación podría resultar en la pérdida de contenido y activos. Esto requiere una plantilla de front-end que pase la entrada de la solicitud a un parámetro de ordenación de una etiqueta. No es explotable por defecto - una plantilla necesitaría ser configurada explícitamente para ordenar por un valor controlado por el visitante. Esto ha sido solucionado en las versiones 5.73.23 y 6.20.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49287 changed 2026-06-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-m92m-r54r-x8r2 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-49287 changed 2026-10-25Public domain