Vulnerabilities in pkg:npm/@delmaredigital/payload-puck
PACKAGECVE-2026-39397 is a CRITICAL (CVSS 9.4) @delmaredigital/payload-puc is missing authorization on vulnerability (CWE-862: Missing Authorization) affecting @delmaredigital/payload puck libraries in the npm ecosystem. The issue involves @delmaredigital/payload-puc is missing authorization on /api/puck/* crud endpoints allows unauthenticated access to puck-registered collections. Remediation is available by upgrading affected packages to version 0.6.23.
pkg:npm/@delmaredigital/payload-puck
Vulnerability advisories affecting package pkg:npm/@delmaredigital/payload-puck. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-65w6-pf7x-5g85 | CVE-2026-39397 | CRITICAL | @delmaredigital/payload-puc is missing authorization on /api/puck/* CRUD endpoints allows unauthenticated access to Puck-registered collections |
CVE-2026-39397 at a Glance
Security Impact
CVSS: 9.4
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:N/S:U/C:H/I:H/A:L).
How to Fix CVE-2026-39397
To remediate this vulnerability, upgrade all affected @delmaredigital/payload puck 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 @delmaredigital/payload-puck@0.6.23
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @delmaredigital/payload-puck
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-39397, inspect your project dependencies using npm:
npm ls @delmaredigital/payload-puck
Analyze the terminal output to locate any version of @delmaredigital/payload puck in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.23), your application is affected.
Note: The npm ls @delmaredigital/payload-puck 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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In @delmaredigital/payload puck, 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-39397 Affected @delmaredigital/payload puck Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@delmaredigital/payload-puck
|
npm |
< 0.6.23
|
0.6.23
|
References
Frequently Asked Questions
What is CVE-2026-39397?
Which @delmaredigital/payload puck versions are affected?
What version fixes CVE-2026-39397?
Is @delmaredigital/payload-puck affected?
What is the CVSS score of CVE-2026-39397?
What CWE is associated with CVE-2026-39397?
How can I check npm dependencies for CVE-2026-39397?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-65w6-pf7x-5g85",
"modified" : "2026-04-08T00:15:54Z",
"published" : "2026-04-08T00:15:54Z",
"aliases" : [ "CVE-2026-39397" ],
"summary" : "@delmaredigital/payload-puc is missing authorization on /api/puck/* CRUD endpoints allows unauthenticated access to Puck-registered collections",
"details" : "### Impact\n\nAll `/api/puck/*` CRUD endpoint handlers registered by `createPuckPlugin()` called Payload's local API with the default `overrideAccess: true`, bypassing all collection-level access control. The `access` option passed to `createPuckPlugin()` and any `access` rules defined on Puck-registered collections were silently ignored on these endpoints.\n\nAn unauthenticated remote attacker could:\n\n- List all documents (including drafts) in any Puck-registered collection\n- Read any document by ID (including drafts)\n- Create new documents with arbitrary field values\n- Update any document (including bypassing field-level access rules)\n- Delete any document\n- Read version history and restore arbitrary versions\n\n**In typical installations**, the affected scope is the collection backing the website's pages (default slug: `pages`). For most users this means an attacker could read, modify, create, or delete every page on the website — including unpublished drafts and version history.\n\n**Scope is limited to collections explicitly registered with `createPuckPlugin()`** — the endpoints validate the collection slug against an allowlist, so attackers cannot pivot to other Payload collections such as `users`, `media`, or business data not exposed to the plugin. The auto-created `puck-templates`, `puck-ai-prompts`, and `puck-ai-context` collections are also outside the allowlist; they have their own dedicated endpoints with separate authentication.\n\nOther endpoints in the plugin (AI, styles, prompts, context, and the Next.js API route factories in `src/api/`) were unaffected — they had their own authentication checks.\n\n### Patches\n\nFixed in **0.6.23**. All endpoint handlers in `src/endpoints/index.ts` now pass `overrideAccess: false` and forward `req` to Payload's local API, so collection-level access rules are evaluated against the current user.\n\n### Workarounds\n\nIf you cannot upgrade immediately, place a reverse-proxy or middleware authentication check in front of `/api/puck/*` to require an authenticated session before requests reach the plugin's handlers.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@delmaredigital/payload-puck"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.23"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/delmaredigital/payload-puck/security/advisories/GHSA-65w6-pf7x-5g85"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-39397"
}, {
"type" : "WEB",
"url" : "https://github.com/delmaredigital/payload-puck/issues/7"
}, {
"type" : "WEB",
"url" : "https://github.com/delmaredigital/payload-puck/commit/9148201c6bbfa140d44546438027a2f8a70f79a4"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/delmaredigital/payload-puck"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-08T00:15:54Z",
"nvd_published_at" : "2026-04-07T21:17:18Z"
}
}