{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.73.23"
              },
              {
                "introduced": "6.0.0"
              },
              {
                "fixed": "6.20.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2c5d83391f39a1134a9f59ce1ab435ab6ac2c838"
            },
            {
              "introduced": "d1bb31cfa1191226cee2a2d1e17aa4c25541e568"
            },
            {
              "fixed": "3363f7c1c1b9882c21d146773ad6483d78fc3df1"
            }
          ],
          "repo": "https://github.com/statamic/cms",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-470"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49287.json"
  },
  "details": "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.",
  "id": "CVE-2026-49287",
  "modified": "2026-08-12T03:51:20.264403575Z",
  "published": "2026-06-19T17:36:23.536Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49287.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/statamic/cms/security/advisories/GHSA-4jjr-vmv7-wh4w"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/statamic/cms/security/advisories/GHSA-m92m-r54r-x8r2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49287"
    }
  ],
  "related": [
    "GHSA-4jjr-vmv7-wh4w",
    "GHSA-m92m-r54r-x8r2"
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Statamic CMS vulnerable to unsafe method invocation via collection sorting allows data destruction"
}