CWE-470Weakness · CWE-470

CVE-2026-49287

HIGH · 7.4 CVSS v3.1 Published 2026-06-19
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
83/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Statamic CMS had an incomplete fix for CVE-2026-41175. While protection was added to the query builder, the same safeguard was not applied to in-memory collection sorting. Attackers can manipulate sort parameters through templates that pass request input directly into a tag's sort parameter, potentially causing loss of content and assets.

MitigationUpdate Statamic to version 5.73.23 or 6.20.0 or later. Additionally, audit existing templates to ensure they do not pass user-controlled input directly into sort parameters, as this vulnerability requires explicit template configuration to be exploitable.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Determine installed Statamic version
    Locate the version file (e.g., composer.json in the project root or the version displayed in the Statamic admin panel) and note the version number.
    Affected if Version is earlier than 5.73.23 or 6.20.0
  2. Inspect templates for collection sort parameters with user input
    Search template files (commonly found in resources/views, templates, or similar directories) for Statamic collection tags (e.g., {{ collection:posts }}) that include a sort attribute. Determine if the sort attribute is set to a dynamic value derived from user input, such as {{ get:sort }}, {{ request:sort }}, or query string parameters.
    Affected if Templates contain collection tags with sort parameters that directly bind user-supplied input without sanitization.
  3. Confirm in-memory collection sorting is in use
    Verify that the application uses Statamic's in-memory collection sorting (via collection tags with sort parameter) rather than query builder sorting. Check if the sorting is applied to collections without database-level processing and is influenced by external input.
    Affected if The application performs in-memory collection sorting and the sort parameter is controlled by user input.

A user is affected if the installed Statamic version is before 5.73.23 or 6.20.0 and templates directly pass user-controlled input into the sort parameter of collection tags.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Update Statamic to version 5.73.23 or 6.20.0 or later. Additionally, audit existing templates to ensure they do not pass user-controlled input directly into sort parameters, as this vulnerability requires explicit template configuration to be exploitable.

Recommended fix High confidence

Statamic 5.73.23+ or 6.20.0+ depending on your major version

  1. 1. Identify the current Statamic version by checking the composer.json file or running `php artisan statamic:version`
  2. 2. If using Statamic 5.x: upgrade to version 5.73.23 or later by running `composer update statamic/cms`
  3. 3. If using Statamic 6.x: upgrade to version 6.20.0 or later by running `composer update statamic/cms`
  4. 4. Review any templates that pass user input to sort parameters and ensure they properly validate/sanitize the input
  5. 5. Deploy the updated version to production
Caveat Review Statamic's release notes for any breaking changes between your current version and the target version before upgrading

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation1.0 h
  • Testing2.0 h
  • Review / QA1.0 h
6.0 hours of engineering $1,060
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,696.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-49287 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-49287 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data