CVE-2026-49287
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 · uneditedStatamic 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 confidenceStatamic 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.
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 checksWork through these to decide whether this CVE applies to you.
-
Determine installed Statamic versionLocate 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
-
Inspect templates for collection sort parameters with user inputSearch 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.
-
Confirm in-memory collection sorting is in useVerify 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.
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 · scopedUpdate 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.
Statamic 5.73.23+ or 6.20.0+ depending on your major version
- 1. Identify the current Statamic version by checking the composer.json file or running `php artisan statamic:version`
- 2. If using Statamic 5.x: upgrade to version 5.73.23 or later by running `composer update statamic/cms`
- 3. If using Statamic 6.x: upgrade to version 6.20.0 or later by running `composer update statamic/cms`
- 4. Review any templates that pass user input to sort parameters and ensure they properly validate/sanitize the input
- 5. Deploy the updated version to production
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation1.0 h
- Testing2.0 h
- Review / QA1.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-49287 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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