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-105847

CVE-2026-105847: Information Disclosure via Polymorphic Join Queries in Payload CMS

Amit Schendel
Amit Schendel
Senior Security Researcher

Oct 7, 2026·6 min read·17 visits

Executive Summary (TL;DR)

A validation bypass in Payload CMS's polymorphic join filters allows authenticated users to query and infer the values of hidden or restricted fields.

Payload CMS is subject to an information disclosure vulnerability where users with query permissions can bypass field-level access controls. By leveraging polymorphic join filters, an attacker can perform blind-inference queries to retrieve restricted or hidden fields such as password reset tokens.

Vulnerability Overview

Payload CMS is an open-source headless content management system built on Node.js and Express. It supports rich querying capabilities, including polymorphic relations that link a single field to multiple potential target collections. These dynamic relationships require a specialized validation pipeline to verify incoming search parameters and query filters.\n\nThe vulnerability is located in the database query validation layer, specifically within the search parameter verification system. When a query is initiated, the system must validate that the requested fields exist and are accessible under the current user's security permissions. In polymorphic configurations, this process becomes complex because a queried path may only be valid for a subset of collections in the relationship union.\n\nAn administrative configuration or query permission on the base collection allows a low-privilege user to query dynamic fields. If a user constructs a payload referencing a hidden or restricted field within a polymorphic join, the validation checks fail to recognize that the target field is restricted rather than simply non-existent. This exposure allows unauthorized read access to highly sensitive properties across related collections.

Root Cause Analysis

The root cause lies in the validateSearchParam function within packages/payload/src/database/queryValidation/validateSearchParams.ts. During query validation, the pipeline attempts to resolve paths for fields specified in filter parameters. If a field is not found or is restricted, it is marked as invalid within the internal resolution context.\n\nTo accommodate polymorphic relationships, the system implemented a validation bypass. Because a field path in a polymorphic query may be absent from some of the target collections, the system is designed to ignore validation errors on missing fields to prevent false-positive validation rejections. This bypass was conditioned on whether the query was part of a polymorphic join, and whether the path conformed to a safe regex matching regular field structures.\n\nThe conditional check if (!polymorphicJoin || !SAFE_FIELD_PATH_REGEX.test(incomingPath)) failed to distinguish between a field that does not exist at all on the target collection and a field that exists but is restricted due to access control or being flagged as hidden: true. Consequently, when a query targeted a restricted field, the validation logic flagged it as invalid but then bypassed throwing an error, silently accepting the restricted parameter for database query execution.

Code Analysis

An inspection of the vulnerable codebase reveals how the bypass suppressed critical security alerts. The search parameter validation loop iterated over paths, evaluating their validity. The original implementation was structured as follows:\n\ntypescript\n// Vulnerable Implementation\nif (invalid) {\n if (!polymorphicJoin || !SAFE_FIELD_PATH_REGEX.test(incomingPath)) {\n errors.push({ path })\n }\n}\n\n\nIn this logic, if invalid is true, the error is only pushed to the errors collection if the query is not a polymorphic join or if the path is unsafe. If polymorphicJoin is true and the path matches SAFE_FIELD_PATH_REGEX, the error condition is skipped. This design assumes that any validation failure on a polymorphic join is due to an unknown field, which is a critical design flaw.\n\nTo address this, the patch introduces a refinement that ensures the bypass is only applied if the field is genuinely unknown on the target collection. The corrected implementation utilizes the existence of the field definition to differentiate between absent and restricted fields:\n\ntypescript\n// Patched Implementation\nif (invalid) {\n const isUnknownPolymorphicJoinField =\n polymorphicJoin && !field && SAFE_FIELD_PATH_REGEX.test(incomingPath)\n\n if (!isUnknownPolymorphicJoinField) {\n errors.push({ path })\n }\n}\n\n\nUnder the patched logic, if the field exists within the schema definition (field is truthy) but is marked invalid due to access control or hidden status, isUnknownPolymorphicJoinField evaluates to false. As a result, the condition blocks the request and appends the validation error to the payload response, preventing database evaluation.

Exploitation Methodology

Exploitation of this vulnerability is achieved through a blind boolean or error-based inference attack. An attacker must possess at least minimal query permissions on a collection that maintains a polymorphic relationship to another collection containing sensitive data. The attacker does not need direct access to the sensitive collection itself.\n\nTo perform the attack, the adversary structures a query targeting the host collection, using the joins parameter to apply a filter on the polymorphic target. For example, if the Categories collection links polymorphically to Posts, and Posts contains a hidden field named hiddenSecret, the attacker can transmit a request with the query structure joins[polymorphicJoin][where][hiddenSecret][equals]=guess_value.\n\nBecause the validation layer fails to block the restricted field within the polymorphic context, the database evaluates the filter condition. By observing whether the host object is returned or if the join succeeds, the attacker can verify if the guessed value matches the actual database value. This technique can be automated to iteratively extract complex fields, including active password reset tokens or secret keys.

Impact Assessment

The impact of CVE-2026-105847 is high, as it permits the extraction of sensitive secrets, application tokens, and user credentials. The vulnerability represents a bypass of field-level access controls, which are a primary security boundary in headless CMS architectures. By exploiting this flaw, users with restricted read rights can escalate their privileges or compromise other accounts.\n\nThe Common Vulnerability Scoring System (CVSS) v4.0 assigns a base score of 7.1, reflecting high confidentiality impact on the vulnerable system. The attack vector is Network (AV:N), the attack complexity is Low (AC:L), and privileges required are Low (PR:L). No user interaction (UI:N) is necessary to execute the attack.\n\n> [!NOTE]\n> Although this vulnerability requires some privileges, in many headless CMS deployments, read permissions are granted to public or low-privilege API consumers. This configuration increases the risk of exploitation by external actors or compromised client applications.

Remediation & Mitigation Guidance

Remediation requires upgrading the Payload CMS dependency to a version containing the official security patch. For production deployments running the 3.x branch, upgrade the payload package to version 3.90.0 or later. For deployments utilizing 4.x pre-release builds, update to 4.0.0-canary.34 or later.\n\nIf upgrading is not immediately possible, temporary workarounds can mitigate the risk. Security teams should audit application schemas to identify any polymorphic relationships. If dynamic joins are not strictly required by the client-side application, they can be restricted or disabled by implementing a global beforeOperation hook that intercepts and sanitizes the joins query parameters.\n\nAdditionally, Web Application Firewalls (WAF) can be configured to block request URIs or request bodies that contain dynamic join filters targeting known sensitive fields. Custom patterns should monitor for parameters matching joins[.*][where] combined with sensitive keys such as token, password, or secret to obstruct exploitation attempts.

Fix Analysis (1)

Technical Appendix

CVSS Score
7.1/ 10
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/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-200, CWE-639
Attack VectorNetwork (AV:N)
CVSS Score7.1 (High)
EPSS ScoreN/A
ImpactInformation Disclosure / Privilege Escalation
Exploit StatusProof-of-Concept / Test-Suite Level
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1005Data from Local System
Collection
T1552Unsecured Credentials
Credential Access
CWE-200
Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor who is not authorized to have access to that information.

Known Exploits & Detection

Official Integration TestThe official test suite includes tests validating rejection of hidden/restricted fields within polymorphic joins.

References & Sources

  • [1]GitHub Fix Commit
  • [2]GitHub Security Advisory (GHSA-fpww-c55p-cjv6)
  • [3]Payload CMS v3.90.0 Release Notes
  • [4]NVD Security Reference

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

•11 minutes ago•GHSA-FMC8-P6Q7-75CC
9.9

GHSA-fmc8-p6q7-75cc: Argument Injection in Canonical LXD Backup Compression Leads to Host Root Code Execution

GHSA-fmc8-p6q7-75cc (associated with CVE-2026-48755) is a critical argument injection vulnerability in Canonical LXD (github.com/canonical/lxd). The vulnerability occurs during instance and storage volume backup operations when processing the user-supplied compression_algorithm configuration parameter. While LXD validates the primary executable token against an allowlist of supported compression binaries, it fails to sanitize or restrict subsequent tokens parsed via shellquote.Split. These additional arguments are passed directly to exec.Command. An authenticated attacker with privileges to trigger backups can inject command-line flags for utilities like zstd to read staged files from a container filesystem and write them to arbitrary paths on the underlying host filesystem, such as /etc/cron.d/, achieving root-level arbitrary code execution on the host.

Amit Schendel
Amit Schendel
2 views•10 min read
•about 1 hour ago•GHSA-PJFF-C2WC-F6JM
9.9

CVE-2026-48769: Arbitrary File Write and Remote Code Execution via Trusted Image Hash in Canonical LXD and Linux Containers Incus

A critical path traversal vulnerability caused by improper input validation (CWE-20) exists in the direct image download handler of Canonical LXD and Linux Containers Incus. When an authenticated user requests an image import using the URL source type, the daemon reads the image fingerprint from an untrusted HTTP response header (`Incus-Image-Hash` or `LXD-Image-Hash`) without validating that it conforms to a SHA-256 format. This unvalidated string is concatenated directly into a filesystem path via `filepath.Join` prior to file creation and cryptographic verification, allowing directory traversal sequences to write arbitrary files on the host filesystem as root.

Alon Barad
Alon Barad
6 views•10 min read
•about 5 hours ago•CVE-2026-9639
6.5

CVE-2026-9639: Authenticated Denial of Service via Nil-Pointer Dereference in Canonical LXD Custom Volume Backup Import

CVE-2026-9639 (GHSA-j93m-3j9p-m5m8) is a null pointer dereference vulnerability in Canonical LXD affecting versions 5.0.0 through 5.21.4 and 6.0 through 6.8. The flaw resides in the (*lxdBackend).CreateCustomVolumeFromBackup method within lxd/storage/backend_lxd.go. An authenticated attacker with the can_create_storage_volumes permission can upload a crafted custom volume backup tarball that omits the expires_at field on a snapshot entry, triggering an unhandled SIGSEGV panic and terminating the LXD daemon.

Amit Schendel
Amit Schendel
6 views•9 min read
•about 6 hours ago•CVE-2026-33050
8.8

CVE-2026-33050: OS Command Injection in GeoNode Vector Upload Handler

An operating system command injection vulnerability (CWE-78) exists in GeoNode versions prior to 5.1.0. The vulnerability occurs in the vector upload processing pipeline when handling user-supplied geospatial files. By supplying a crafted layer name containing shell metacharacters, an authenticated attacker with basic data upload privileges can execute arbitrary commands on the underlying server or container hosting the GeoNode application and Celery worker processes.

Alon Barad
Alon Barad
6 views•9 min read
•about 7 hours ago•CVE-2026-46429
5.5

CVE-2026-46429: Unrestricted File Upload and Validation Bypass in GeoNode

GeoNode versions prior to 5.0.3 contain an unrestricted file upload vulnerability (CWE-434) within the document and dataset ingestion architecture. Authenticated low-privileged users can bypass upload validation via direct REST API interactions, file extension masquerading, metadata mutation via PATCH requests, or malicious archive submissions. This allows attackers to store and serve dangerous file types, alter on-disk file references, or trigger path traversal and resource exhaustion during archive extraction.

Amit Schendel
Amit Schendel
7 views•10 min read
•about 8 hours ago•CVE-2026-55649
6.3

CVE-2026-55649: Stored Cross-Site Scripting in GeoNode Document Metadata Abstract Field

CVE-2026-55649 is a stored Cross-Site Scripting (XSS) vulnerability in GeoNode versions prior to 5.0.3. The flaw exists because document abstract metadata fields are ingested via the metadata management pipeline and stored in the backend database without HTML sanitization or input neutralization. An authenticated attacker with privileges to create or edit document metadata can inject arbitrary HTML and JavaScript payloads into these fields. When another user, such as an administrator, views the affected document page or catalog listing, the unencoded payload is rendered into the Document Object Model (DOM) and executes within the victim's browser session.

Amit Schendel
Amit Schendel
7 views•9 min read