{"id":"CVE-2026-49287","aliases":["CVE-2026-49287","GHSA-m92m-r54r-x8r2"],"related":[],"kind":"vulnerability","state":"published","title":"Statamic CMS vulnerable to unsafe method invocation via collection sorting allows data destruction","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe 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.\n\nThis 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.\n\n### Patches\n\nThis has been fixed in 5.73.23 and 6.20.0.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-19T17:36:23.536Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","score":7.4,"rating":"HIGH"}],"cwes":["CWE-470"],"affected":[{"ranges":[{"version":"< 5.73.23","status":"affected"},{"version":">= 6.0.0, < 6.20.0","status":"affected"}],"vendor":"statamic","product":"cms","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.73.23"}],"ecosystem":"Packagist","package":"statamic/cms","purl":"pkg:composer/statamic/cms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","fixed":"6.20.0"}],"ecosystem":"Packagist","package":"statamic/cms","purl":"pkg:composer/statamic/cms","source":"ghsa"}],"references":[{"url":"https://github.com/statamic/cms/security/advisories/GHSA-m92m-r54r-x8r2","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/statamic/cms/security/advisories/GHSA-4jjr-vmv7-wh4w","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49287","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/statamic/cms","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-22T14:21:45.638Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49287","url":"https://www.cve.org/CVERecord?id=CVE-2026-49287","licence":"CVE Terms of Use","modified":"2026-06-22T14:22:02.202Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m92m-r54r-x8r2","url":"https://github.com/advisories/GHSA-m92m-r54r-x8r2","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:08.997Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49287","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49287","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:25.274Z","epss":{"score":0.0027,"percentile":0.20561,"date":"2026-12-01T12:00:22.000Z"}}