Vulnerabilities in pkg:npm/@payloadcms/next
PACKAGECVE-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.
pkg:npm/@payloadcms/next
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
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).
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.
npm install payload@3.88.0
npm install payload@4.0.0-canary.27
npm install @payloadcms/next@3.88.0
npm install @payloadcms/next@4.0.0-canary.27
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
CVE-2026-105846 Affected Payload Versions
4 component(s)| 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?
Which Payload versions are affected?
What version fixes CVE-2026-105846?
Is payload affected?
Is @payloadcms/next affected?
What is the CVSS score of CVE-2026-105846?
What CWE is associated with CVE-2026-105846?
How can I check npm dependencies for CVE-2026-105846?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}