CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-105851

CVE-2026-105851: Privilege Escalation via Field Access Control Bypass in Payload CMS Duplication Mechanism

Alon Barad
Alon Barad
Software Engineer

Oct 7, 2026·7 min read·13 visits

Executive Summary (TL;DR)

Payload CMS failed to enforce field-level access controls and the disableDuplicate configuration during document duplication, allowing standard users to duplicate administrator profiles and escalate their privileges.

A critical access control bypass vulnerability (CVE-2026-105851) in Payload CMS allows authenticated users to bypass field-level access controls during document duplication. By duplicating high-privilege documents, such as administrator accounts, standard users can inherit sensitive fields (e.g., role configurations or API keys), leading to privilege escalation.

Vulnerability Overview

Payload CMS contains a critical privilege escalation vulnerability, designated as CVE-2026-105851, in its document duplication mechanism. When duplicating an existing collection document, the application initializes a document creation pipeline that copies properties from a specified source document to a new one. This behavior exposed an expanded attack surface within authentication-enabled and highly restricted collections.\n\nThe core of the vulnerability lies in the improper registration and exposure of duplication endpoints, coupled with a complete bypass of field-level access controls. An attacker holding low-privilege access can send duplication requests targeting high-privilege documents, such as administrative accounts. The system then populates the new record with sensitive and restricted properties from the target, bypassing standard authorization rules.\n\nThe security impact of this flaw is significant, mapped to CWE-284 (Improper Access Control) and CWE-863 (Incorrect Authorization). It permits authenticated users to execute unauthorized operations, duplicate administrative configurations, and acquire higher privilege contexts without triggering validation checks. The vulnerability affects Payload CMS installations across the 3.x and 4.x canary branches prior to the release of patched versions.

Root Cause Analysis

The root cause of CVE-2026-105851 involves two distinct security omissions in the Payload CMS architecture: endpoint exposure and the lack of field-level validation during cloning operations. In a standard deployment, developers use the disableDuplicate flag to restrict document cloning on sensitive collections, particularly those handling authentication. However, in vulnerable versions, this flag failed to inhibit the REST API endpoint /:id/duplicate from registering, allowing clients to send programmatic requests to cloning paths on all collections.\n\nmermaid\ngraph LR\n Attacker["Attacker (Low Privilege)"] -->|"POST /:id/duplicate"| DuplicationEndpoint["Duplication Endpoint (/duplicate)"]\n DuplicationEndpoint -->|"Bypasses disableDuplicate Check"| InternalPipeline["Internal Duplication Pipeline"]\n InternalPipeline -->|"Directly Copies Fields"| SourceDoc["Source Administrator Document (Roles: ['admin'])"]\n SourceDoc -->|"Clones Sensitive Properties"| NewDoc["Created User (Inherits: ['admin'])"]\n\n\nWhen a duplication is triggered, Payload CMS executes an internal creation process powered by createOperation containing a duplicateFromID reference. Instead of passing through a standard sanitization and field-level permission pipeline, the application copied the source document's field values directly into the database insertion payload. This mechanism bypassed the user-level permissions typically enforced during standard create operations.\n\nConsequently, fields marked as hidden or protected by custom access.read or access.create hooks were successfully cloned. Because the field-level access control functions were never invoked against the caller's context during the duplication routine, restricted fields like administrative roles, API tokens, and operational flags were directly duplicated into the newly created account. This enabled privilege escalation by allowing standard users to inherit the capabilities of the duplicated source user.

Detailed Code Walkthrough

To mitigate this vulnerability, the developers introduced multiple layers of security validations in commit 099ef12e2682f076aa8e8d0ccb790536b4e1027f to ensure duplication settings are consistently enforced across both REST and programmatic interfaces.\n\nFirst, duplication is now explicitly disabled by default for all authentication-enabled collections within packages/payload/src/collections/config/sanitize.ts:\n\ntypescript\nif (sanitized.auth) {\n // disable duplicate for auth enabled collections by default\n sanitized.disableDuplicate = sanitized.disableDuplicate ?? true\n}\n\n\nSecond, the system ensures that the /duplicate endpoint is omitted during route registration if disableDuplicate is enabled, blocking external access to the REST endpoint:\n\ntypescript\nfor (const endpoint of defaultCollectionEndpoints) {\n if (endpoint !== duplicateEndpoint || sanitized.disableDuplicate !== true) {\n sanitized.endpoints.push(endpoint)\n }\n}\n\n\nThird, programmatic calls are protected inside the core creation operation in packages/payload/src/collections/operations/create.ts:\n\ntypescript\nconst isDuplicating = duplicateFromID !== undefined && duplicateFromID !== null\n\nif (isDuplicating && collectionConfig.disableDuplicate === true) {\n throw new APIError(\n `The collection with slug ${String(collectionConfig.slug)} cannot be duplicated.`,\n 400,\n )\n}\n\n\nFinally, to resolve the field-level bypass, the validation pipeline now enforces granular field checks. In packages/payload/src/fields/hooks/beforeValidate/promise.ts, the application evaluates isDocumentValueAllowed against the caller's active context. If access is unauthorized, the application redirects the value retrieval to a secure default or fallback handler rather than cloning the original document's properties:\n\ntypescript\nif (typeof siblingData[field.name!] === 'undefined' && !req.context?.isRestoringVersion) {\n const isDocumentValueAllowed = operation === 'update' || isAccessAllowed\n\n siblingData[field.name!] =\n !fallbackResult.executed || !isDocumentValueAllowed\n ? await getFallbackValue({ field, isDocumentValueAllowed, req, siblingDoc })\n : fallbackResult.value\n}\n\n\nInside getFallbackValue.ts, the isDocumentValueAllowed flag acts as a gate, ensuring that unauthorized users cannot clone restricted database values during duplication:\n\ntypescript\nif (isDocumentValueAllowed && typeof siblingDoc[field.name] !== 'undefined') {\n fallbackValue = cloneDataFromOriginalDoc(siblingDoc[field.name])\n} else if ('defaultValue' in field && typeof field.defaultValue !== 'undefined') {\n fallbackValue = await getDefaultValue({ ... })\n}\n

Exploitation Methodology

Exploitation of CVE-2026-105851 requires that the attacker has authenticated access to the target Payload CMS instance, holding at least standard user privileges. The target collection must expose duplicate capabilities (either because it is not an authentication collection, or because it runs a vulnerable version that fails to enforce the disableDuplicate setting). Additionally, the collection must contain high-privilege configuration fields such as roles or boolean flags that grant operational permissions.\n\nTo perform the exploit, the attacker must identify a target user ID containing the desired privilege context. The attacker then issues a POST request to the duplication endpoint of the target collection, pointing to the target administrative document in the path. In the request body, the attacker supplies their own credentials, such as a modified email address and password:\n\nhttp\nPOST /api/users/64f0a2e31bc2a9001bfa8290/duplicate HTTP/1.1\nHost: target-application.local\nAuthorization: JWT <low-privilege-jwt-token>\nContent-Type: application/json\nConnection: close\n\n{\n "email": "escalated-user@target-domain.com",\n "password": "OperationalPassword123!"\n}\n\n\nUpon receiving the request, the vulnerable server executes the duplication logic. It duplicates all fields of the user 64f0a2e31bc2a9001bfa8290, including the roles: ['admin'] array, because it fails to perform field-level verification against the standard user's session context. The server registers the new user account with administrative roles, allowing the attacker to authenticate using the newly created credentials and achieve complete administrative control over the application.

Technical Impact & Risk Assessment

The technical impact of CVE-2026-105851 is characterized by a complete compromise of the authorization model within affected Payload CMS installations. An authenticated attacker can escalate their privileges from a standard or guest role to a full administrator role. Once administrative access is achieved, the attacker can execute arbitrary read, write, and delete operations across all collections, modify system configurations, and retrieve sensitive application configurations.\n\nThe vulnerability is assigned a CVSS v4.0 score of 9.3, indicating extreme severity. This calculation underscores that the attack vector is network-based, requires low complexity, requires no user interaction, and yields a high impact on integrity. Because authentication collections often map directly to administrative users, bypassing access controls on these documents constitutes a direct path to full infrastructure compromise.\n\nCurrently, there is no evidence of active exploitation in the wild, and CISA has not listed the vulnerability within its Known Exploited Vulnerabilities catalog. However, because the logical flow of the exploit is straightforward, organizations running vulnerable instances must prioritize remediation to prevent the weaponization of proof-of-concept scripts.

Remediation & Patch Completeness

The primary remediation for CVE-2026-105851 is upgrading the affected Payload CMS package to a secure version. For deployments built on the 3.x release line, teams must update the dependencies to version 3.90.0 or higher. For projects tracking the 4.x canary branch, the application must be updated to version 4.0.0-canary.34 or higher. These updates ensure that both the REST endpoints and the internal creation operation correctly restrict duplication settings.\n\nIf upgrading is not immediately feasible, organizations must apply immediate configuration-based workarounds. Specifically, administrators must explicitly define disableDuplicate: true inside the schema configuration of all authentication-enabled and high-security collections:\n\ntypescript\nexport const Users: CollectionConfig = {\n slug: 'users',\n auth: true,\n disableDuplicate: true,\n fields: [\n // Field definitions...\n ]\n}\n\n\nAdditionally, developers can restrict sensitive fields manually by implementing custom validation or hooks. For example, registering a beforeChange hook on fields like roles allows developers to verify if the incoming modification is part of a duplication process and actively strip high-privilege parameters when the request context does not authorize them.\n\nAn evaluation of the patch indicates that the fix is robust. By disabling duplication on auth collections by default, removing the endpoint route registration, and executing isDocumentValueAllowed checks during the field fallback sequence, the developers have closed both the network-facing routes and the internal program paths that led to the access bypass.

Official Patches

payloadcmsField access control bypass on auth collections advisory
payloadcmsOfficial patch commit

Fix Analysis (1)

Technical Appendix

CVSS Score
9.3/ 10
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N

Affected Systems

Payload CMS

Affected Versions Detail

Product
Affected Versions
Fixed Version
payload
payloadcms
>= 3.0.0, < 3.90.03.90.0
payload
payloadcms
>= 4.0.0-canary.0, < 4.0.0-canary.344.0.0-canary.34
AttributeDetail
CWE IDCWE-284 / CWE-863
Attack VectorNetwork (Unauthenticated or Low-Privileged Local Network/API Access)
CVSS v4.09.3 (Critical)
EPSS ScoreNot Available
ImpactPrivilege Escalation / Unauthorized Data Access
Exploit StatusConceptual / Proof-of-Concept
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-284
Improper Access Control

The software does not restrict or incorrectly restricts access to resource properties during duplication, allowing unauthorized modifications or permission inheritance.

Vulnerability Timeline

Fix commit 099ef12 authored and pushed to repository
2026-08-27
GitHub Security Advisory GHSA-vc4h-q48j-5hcx published
2026-10-06
CVE-2026-105851 officially assigned and recorded
2026-10-06

References & Sources

  • [1]GitHub Security Advisory GHSA-vc4h-q48j-5hcx
  • [2]Payload CMS Commit 099ef12e26
  • [3]Payload CMS v3.90.0 Release Notes
  • [4]CVE-2026-105851 Record

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•8 minutes ago•CVE-2026-126299
7.5

CVE-2026-126299: Quadratic Algorithmic Complexity Denial of Service in NLTK CCG Lexicon Parser

An algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) before version 3.10.4 allows remote unauthenticated attackers to cause a denial of service via crafted Combinatory Categorial Grammar (CCG) lexicon strings. The parser in nltk.ccg.lexicon.fromstring performs repeated immutable string slicing, concatenation, and regex tail capturing, resulting in O(n^2) CPU consumption when processing wide, flat category definitions.

Alon Barad
Alon Barad
0 views•10 min read
•about 1 hour ago•CVE-2026-126295
7.1

CVE-2026-126295: Path Traversal and Unconfined File Access in NLTK BllipParser

CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.

Amit Schendel
Amit Schendel
2 views•11 min read
•about 2 hours ago•CVE-2026-126300
5.3

CVE-2026-126300: Algorithmic Complexity Denial of Service in NLTK TreebankWordTokenizer.span_tokenize

CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 3 hours ago•GHSA-GPWC-27CW-RH9R
5.3

CVE-2026-126301: Quadratic CPU Exhaustion in NLTK LegalitySyllableTokenizer

The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.

Amit Schendel
Amit Schendel
4 views•10 min read
•about 4 hours ago•CVE-2026-126304
8.7

CVE-2026-126304: Symlink Path Traversal in NLTK YCOECorpusReader

CVE-2026-126304 is a symlink path traversal vulnerability (CWE-59) in the Natural Language Toolkit (NLTK) versions 3.10.0 prior to 3.10.4. The YCOECorpusReader class constructs internal sub-readers for the 'psd' and 'pos' subdirectories using FileSystemPathPointer.join(), which relies exclusively on lexical string-prefix validation rather than canonical path resolution. An attacker who supplies a crafted YCOE corpus containing symbolic links in place of the 'psd' or 'pos' subdirectories can bypass directory confinement and read arbitrary files from sibling corpora or sensitive directories within the NLTK data sandbox.

Amit Schendel
Amit Schendel
6 views•9 min read
•about 5 hours ago•CVE-2026-128077
6.5

CVE-2026-128077: Authorization Bypass via Request Path Desynchronization in Nuxt and @nuxt/nitro-server

CVE-2026-128077 (GHSA-r99w-jh2x-3mg9) is an authorization bypass and interpretation conflict vulnerability affecting Nuxt and its underlying @nuxt/nitro-server package in versions 4.6.0 through 4.6.3. When an incoming HTTP request path begins with a double forward slash (e.g., //x/admin), the WHATWG URL parser within the Nuxt server-side page renderer interprets the initial segment as a network host/authority and resolves the remaining path (/admin) against the application's page router. Because Nitro server middleware, route-scoped serverHandlers, and Nitro routeRules evaluate the unparsed request path (//x/admin), path-based access controls, redirects, and security header policies configured for /admin fail to match and are bypassed.

Amit Schendel
Amit Schendel
5 views•10 min read