Vulnerabilities in pkg:npm/payload

PACKAGE
Advisory Identifier: GHSA-97rh-rhh2-7vjv
Advisory Summary

CVE-2026-105858 is a HIGH (CVSS 8.1) remote code execution vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Payload libraries in the npm ecosystem. The issue involves remote code execution through first-register. Remediation is available by upgrading affected packages to version 3.90.0, 4.0.0-canary.34.

29 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/payload

29 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/payload. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-97rh-rhh2-7vjv CVE-2026-105858 HIGH Payload: Remote Code Execution through first-register
GHSA-pj5h-5q6c-3pfx CVE-2026-105861 HIGH Payload external upload trust validation issue
GHSA-2pwp-2369-8fg3 CVE-2026-105862 HIGH Payload: Bypassed sanitization of user uploaded SVGs
GHSA-p223-2wr2-j562 CVE-2026-105865 HIGH Payload: Incomplete validation during the upload file lifecycle
GHSA-v5gf-vpjc-pc7w CVE-2026-105866 MODERATE Payload: Unauthenticated account-lockout denial of service
GHSA-9qpg-3cf8-w33x CVE-2026-105868 HIGH Payload: Uploaded XML files could execute same-origin JavaScript
GHSA-f7hx-52q9-hcrf CVE-2026-105859 CRITICAL Payload: Unauthorized update to collection documents
GHSA-66wr-7vmr-p5jq CVE-2026-105863 CRITICAL Payload authentication token field handling issue
GHSA-fx49-4h83-wjv9 CVE-2026-105855 HIGH Payload didn't enforce field-level password update restrictions
GHSA-2g7p-5934-q4w7 CVE-2026-105854 HIGH Payload: ReDoS in Multipart Content-Type Validation
GHSA-238x-w2j9-gwwr CVE-2026-105849 HIGH Payload vulnerable to API key disclosure through ordinary document reads
GHSA-7c34-32v3-j575 CVE-2026-105852 MODERATE Payload relationship-query authorization bypass
GHSA-xgv3-crq2-6f69 CVE-2026-105853 HIGH Payload: Token refresh and password reset responses may expose restricted user fields
GHSA-v49j-62m6-pgrr CVE-2026-105845 CRITICAL Payload: SQL Injection in SQLite and Postgres
GHSA-w84c-53h3-mc2g CVE-2026-105846 MODERATE Payload: Untrusted redirect URL parameter exploit
GHSA-fpww-c55p-cjv6 CVE-2026-105847 HIGH Payload: Polymorphic join queries could disclose hidden fields
GHSA-q6mq-ch85-c8mm CVE-2026-105804 MODERATE Payload: Password hashes use insufficient PBKDF2 iterations
GHSA-9g87-32v6-3c2r CVE-2026-105805 MODERATE Payload: Sort queries could expose protected field information
GHSA-jg8r-5jh2-v2xj CVE-2026-11779 MODERATE Payload CMS default account-unlock access allows authenticated users to reset other accounts' lockouts
GHSA-hp5w-3hxx-vmwf CVE-2026-34751 CRITICAL Payload: Pre-Authentication Account Takeover via Parameter Injection in Password Recovery
GHSA-6r7f-q7f5-wpx8 CVE-2026-34746 HIGH Payload has Authenticated SSRF via Upload Functionality
GHSA-7xxh-373w-35vg CVE-2026-34747 HIGH Payload has an SQL Injection via Query Handling
GHSA-p6mr-xf3r-ghq4 CVE-2026-34749 MODERATE Payload has a CSRF Protection Bypass in Authentication Flow
GHSA-hhfx-5x8j-f5f6 CVE-2026-27567 MODERATE Payload: Server-Side Request Forgery (SSRF) in External File URL Uploads
GHSA-jq29-r496-r955 CVE-2026-25574 MODERATE payload-preferences has Cross-Collection IDOR in Access Control (Multi-Auth Environments)
GHSA-26rv-h2hf-3fw4 CVE-2025-4644 MODERATE Payload's SQLite adapter Session Fixation vulnerability
GHSA-5v66-m237-hwf7 CVE-2025-4643 MODERATE Payload does not invalidate JWTs after log out
GHSA-35jj-vqcf-f2jf CVE-2023-30843 HIGH Hidden fields can be leaked on readable collections in Payload
GHSA-w8xh-93qh-35vw CVE-2022-27952 CRITICAL Unrestricted Upload of File with Dangerous Type in Payload

CVE-2026-105858 at a Glance

CVE Identifier CVE-2026-105858
GHSA Identifier GHSA-97rh-rhh2-7vjv
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected Product Payload
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-105858

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.90.0
npm install payload@3.90.0
payload fixed: 4.0.0-canary.34
npm install payload@4.0.0-canary.34
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-105858, 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.90.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-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. 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 A crafted request to the public first-register operation can be used to perform a RCE exploit. **You are affected if:** - You use local auth strategy and your application remains without an initial user created ## Patches In the patched version data submission to create first user is properly sanitized. Users should upgrade Payload packages to `>= 3.90.0` or `>= 4.0.0-canary.34`.

CVE-2026-105858 Affected Payload Versions

2 component(s)
Fixed Versions:
3.90.04.0.0-canary.34
Product / Package Ecosystem Affected Versions Fixed Version
payload
npm
< 3.90.0
3.90.0
payload
npm
≥ 4.0.0-canary.0
< 4.0.0-canary.34
4.0.0-canary.34

References

Frequently Asked Questions

What is CVE-2026-105858?
CVE-2026-105858 is a security vulnerability in Payload involving Remote Code Execution through first-register under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
Which Payload versions are affected?
Affected versions include releases prior to 3.90.0, 4.0.0-canary.34 across affected packages: payload.
What version fixes CVE-2026-105858?
Upgrading to 3.90.0, 4.0.0-canary.34 (or the latest patched release for your respective branch) resolves the vulnerability.
Is payload affected?
Yes, payload is affected in releases prior to 3.90.0, 4.0.0-canary.34. Upgrade your dependency to 3.90.0, 4.0.0-canary.34 or later.
What is the CVSS score of CVE-2026-105858?
CVE-2026-105858 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-105858?
CVE-2026-105858 is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.).
How can I check npm dependencies for CVE-2026-105858?
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-97rh-rhh2-7vjv",
  "modified" : "2026-10-07T20:29:58Z",
  "published" : "2026-10-07T20:29:58Z",
  "aliases" : [ "CVE-2026-105858" ],
  "summary" : "Payload: Remote Code Execution through first-register",
  "details" : "### Impact\nA crafted request to the public first-register operation can be used to perform a RCE exploit.\n\n**You are affected if:**\n\n- You use local auth strategy and your application remains without an initial user created\n\n## Patches\n\nIn the patched version data submission to create first user is properly sanitized.\n\nUsers should upgrade Payload packages to `>= 3.90.0` or `>= 4.0.0-canary.34`.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "payload"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.90.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "payload"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0-canary.0"
      }, {
        "fixed" : "4.0.0-canary.34"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/payloadcms/payload/security/advisories/GHSA-97rh-rhh2-7vjv"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-105858"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/payloadcms/payload/commit/e947fc4ba4a434f276d043386e501b1d14eda679"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/payloadcms/payload"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/payloadcms/payload/releases/tag/v3.90.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1321", "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-07T20:29:58Z",
    "nvd_published_at" : "2026-10-06T17:17:21Z"
  }
}