CVE-2026-105805: Payload Sort Queries Could Expose Protected Vulnerability

MODERATE
Advisory Identifier: GHSA-9g87-32v6-3c2r
CWE-200 CWE-863
Published
Advisory Summary

CVE-2026-105805 is a MODERATE sort queries could expose protected vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Payload libraries in the npm ecosystem. The issue involves sort queries could expose protected field information. Remediation is available by upgrading affected packages to version 3.88.0, 4.0.0-canary.27.

CVE-2026-105805 at a Glance

CVE Identifier CVE-2026-105805
GHSA Identifier GHSA-9g87-32v6-3c2r
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Payload
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-105805

To remediate this vulnerability, upgrade all affected Payload dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

payload fixed: 3.88.0
npm install payload@3.88.0
payload fixed: 4.0.0-canary.27
npm install payload@4.0.0-canary.27
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls payload

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-105805, inspect your project dependencies using npm:

npm ls payload

Analyze the terminal output to locate any version of Payload in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.88.0), your application is affected.

Note: The npm ls payload command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Payload, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Under certain conditions, sorting readable records could reveal limited information about fields the requester was not permitted to read. You are affected if untrusted users can query a collection, control its sorting, and sort by protected fields. ### Patches Payload now applies field-level access checks to sort fields before executing queries. Users should upgrade to `>= 3.88.0` or `>= 4.0.0-canary.27`. ### Workarounds Upgrading is recommended. Until then, prevent untrusted users from controlling sort parameters or restrict their access to affected collections.

CVE-2026-105805 Affected Payload Versions

2 component(s)
Fixed Versions:
3.88.04.0.0-canary.27
Product / Package Ecosystem Affected Versions Fixed Version
payload
npm
< 3.88.0
3.88.0
payload
npm
≥ 4.0.0-canary.0
< 4.0.0-canary.27
4.0.0-canary.27

References

Frequently Asked Questions

What is CVE-2026-105805?
CVE-2026-105805 is a security vulnerability in Payload involving Sort queries could expose protected field information under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Payload versions are affected?
Affected versions include releases prior to 3.88.0, 4.0.0-canary.27 across affected packages: payload.
What version fixes CVE-2026-105805?
Upgrading to 3.88.0, 4.0.0-canary.27 (or the latest patched release for your respective branch) resolves the vulnerability.
Is payload affected?
Yes, payload is affected in releases prior to 3.88.0, 4.0.0-canary.27. Upgrade your dependency to 3.88.0, 4.0.0-canary.27 or later.
What CWE is associated with CVE-2026-105805?
CVE-2026-105805 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check npm dependencies for CVE-2026-105805?
Run the dependency tree command: 'npm ls payload'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9g87-32v6-3c2r",
  "modified" : "2026-10-06T15:38:32Z",
  "published" : "2026-10-06T15:38:32Z",
  "aliases" : [ "CVE-2026-105805" ],
  "summary" : "Payload: Sort queries could expose protected field information",
  "details" : "### Impact\nUnder certain conditions, sorting readable records could reveal limited information about fields the requester was not permitted to read.\n\nYou are affected if untrusted users can query a collection, control its sorting, and sort by protected fields.\n\n### Patches\nPayload now applies field-level access checks to sort fields before executing queries.\n\nUsers should upgrade to `>= 3.88.0` or `>= 4.0.0-canary.27`.\n\n### Workarounds\nUpgrading is recommended. Until then, prevent untrusted users from controlling sort parameters or restrict their access to affected collections.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "payload"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.88.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "payload"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0-canary.0"
      }, {
        "fixed" : "4.0.0-canary.27"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/payloadcms/payload/security/advisories/GHSA-9g87-32v6-3c2r"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/payloadcms/payload/commit/a742140ab4fca3160f7f83e9e7d996552ffc3b5a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/payloadcms/payload"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/payloadcms/payload/releases/tag/v3.88.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-06T15:38:32Z",
    "nvd_published_at" : null
  }
}