Vulnerabilities in pkg:npm/@payloadcms/next

PACKAGE
Advisory Identifier: GHSA-w84c-53h3-mc2g
Advisory Summary

CVE-2026-105846 is a MODERATE (CVSS 6.1) untrusted redirect url parameter exploit vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Payload libraries in the npm ecosystem. The issue involves untrusted redirect url parameter exploit. Remediation is available by upgrading affected packages to version 3.88.0, 4.0.0-canary.27.

4 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@payloadcms/next

4 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-w84c-53h3-mc2g CVE-2026-105846 MODERATE Payload: Untrusted redirect URL parameter exploit
GHSA-mmxc-95ch-2j7c CVE-2026-34748 HIGH @payloadcms/next has Stored XSS in Admin Panel
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

CVE-2026-105846 at a Glance

CVE Identifier CVE-2026-105846
GHSA Identifier GHSA-w84c-53h3-mc2g
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Payload
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.1

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-105846

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
@payloadcms/next fixed: 3.88.0
npm install @payloadcms/next@3.88.0
@payloadcms/next fixed: 4.0.0-canary.27
npm install @payloadcms/next@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-105846, 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-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. 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, an attacker can craft a redirect link that sends a guest user to an untrusted destination after authenticating. ### Patches Users should upgrade Payload packages to `>= 3.88.0` or `>= 4.0.0-canary.27`. ### Workarounds Upgrading is recommended. Until then, remove user-controlled redirect values from authentication flows or restrict them to known local paths.

CVE-2026-105846 Affected Payload Versions

4 component(s)
Fixed Versions:
3.88.04.0.0-canary.27
Product / Package Ecosystem Affected Versions Fixed Version
payload
npm
≥ 3.40.0
< 3.88.0
3.88.0
payload
npm
≥ 4.0.0-canary.0
< 4.0.0-canary.27
4.0.0-canary.27
@payloadcms/next
npm
≥ 3.31.0
< 3.88.0
3.88.0
@payloadcms/next
npm
≥ 4.0.0-canary.0
< 4.0.0-canary.27
4.0.0-canary.27

References

Frequently Asked Questions

What is CVE-2026-105846?
CVE-2026-105846 is a security vulnerability in Payload involving Untrusted redirect URL parameter exploit under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Payload versions are affected?
Affected versions include releases prior to 3.88.0, 4.0.0-canary.27 across affected packages: payload, @payloadcms/next.
What version fixes CVE-2026-105846?
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.
Is @payloadcms/next affected?
Yes, @payloadcms/next 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 is the CVSS score of CVE-2026-105846?
CVE-2026-105846 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2026-105846?
CVE-2026-105846 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check npm dependencies for CVE-2026-105846?
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-w84c-53h3-mc2g",
  "modified" : "2026-10-06T16:09:13Z",
  "published" : "2026-10-06T16:09:13Z",
  "aliases" : [ "CVE-2026-105846" ],
  "summary" : "Payload: Untrusted redirect URL parameter exploit",
  "details" : "### Impact\nUnder certain conditions, an attacker can craft a redirect link that sends a guest user to an untrusted destination after authenticating.\n\n### Patches\nUsers should upgrade Payload packages to `>= 3.88.0` or `>= 4.0.0-canary.27`.\n\n### Workarounds\nUpgrading is recommended. Until then, remove user-controlled redirect values from authentication flows or restrict them to known local paths.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "payload"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.40.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"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@payloadcms/next"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.31.0"
      }, {
        "fixed" : "3.88.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@payloadcms/next"
    },
    "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-w84c-53h3-mc2g"
  }, {
    "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-601" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-06T16:09:13Z",
    "nvd_published_at" : null
  }
}