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

CVE-2026-105849: Sensitive Data Exposure and Privilege Escalation in Payload CMS API Key Authentication

Amit Schendel
Amit Schendel
Senior Security Researcher

Oct 6, 2026·5 min read·18 visits

Executive Summary (TL;DR)

Vulnerable versions of Payload CMS fail to restrict read access to the dynamically generated apiKey field, exposing active plaintext API keys to any user with standard read access to user collections.

A sensitive data exposure vulnerability in Payload CMS allows authenticated low-privilege users to retrieve decrypted, plaintext API keys of other users, including administrators, leading to full administrative account takeover and privilege escalation.

Vulnerability Overview

The affected component is Payload's default API key authentication mechanism. When a collection configuration enables useAPIKey, the CMS generates default authentication fields, specifically apiKey. In vulnerable versions, Payload fails to enforce adequate field-level read-authorization controls or default masking on this generated apiKey field.

Consequently, any user with ordinary read access to other authentication documents in that collection can retrieve active, unmasked API keys for other users.

This exposes a substantial attack surface, as low-privilege users can query the /api/users endpoint or custom authentication collections and retrieve active keys of higher-privilege administrative accounts. The bug falls under CWE-201 (Insertion of Sensitive Information Into Sent Data) and CWE-862 (Missing Authorization).

Root Cause Analysis

In Payload CMS, collections configured with authentication support can generate API keys to allow external integrations or API clients to execute operations. Setting useAPIKey to true dynamically inserts default fields into the collection schema, including enableAPIKey and apiKey.

The root cause of the vulnerability lies in the lack of read-level restrictions in the default field definition of apiKey under packages/payload/src/auth/baseFields/apiKey.ts. The default apiKey field definition did not implement explicit field-level access control, such as access.read = () => false. Consequently, the field inherited the read permissions of the parent document.

Furthermore, the field definition integrated an afterRead hook that mapped to decryptKey. Whenever a read operation was executed on a document within the collection, the database engine returned the ciphertext, the hook automatically decrypted it using the primary payload secret, and the plaintext API key was rendered directly in the output JSON.

Code Analysis

An examination of the patch in commit 880d2e900be22cd66a9e939f2b3e702fa413180f reveals the structural remediation of this design flaw. The developer replaced the implicit read inheritance with a hard block on standard read operations. The access.read attribute is now explicitly defined as () => false for the apiKey field.

The patch also eliminates the automated decryption process during standard reads. The decryptKey hook was completely removed, replaced by the omitEncryptedAPIKey hook within afterRead, which guarantees that the raw or encrypted key cannot be leaked even if database extraction occurs. A new dedicated and secured reveal endpoint (/:id/api-key/reveal) was introduced, implementing granular verification checks that demand admin panel access capabilities alongside read and write permissions on the targeted document.

Exploitation Scenario

Exploitation requires that the attacker has authenticated credentials with standard read permissions to the user collection. In a standard multi-tenant or multi-user configuration, standard users or content authors might have permissions to view other profiles, or a lax API configuration might permit broad read access to the /api/users endpoint.

The attacker queries the endpoint using standard HTTP REST or GraphQL operations. Because the apiKey field is decrypted on read, the server returns the plaintext API keys in the response payload.

The attacker extracts the active API key of an administrative user and places it in the Authorization header of subsequent requests. Since the API key authentication middleware identifies the key and maps it to the target user context, the attacker assumes the full permissions of the administrative account, achieving complete privilege escalation.

Impact Assessment

An attacker who exploits this vulnerability gains full, unauthenticated administrative access over the affected CMS instance. Because API keys bypass multi-factor authentication and standard login logging protocols, the attacker's activities may remain undetected within standard authentication monitoring channels.

The vulnerability carries a CVSS v4.0 base score of 7.7, reflecting high confidentiality, integrity, and availability impacts within the local CMS instance. While the vulnerability is restricted to the Payload CMS application layer, administrative compromise allows complete data exfiltration, database tampering, and arbitrary execution of any integrated headless processes.

Remediation

The primary remediation strategy is upgrading the Payload installation to version 3.90.0 or higher, or 4.0.0-canary.34 or higher. These releases implement the hardened field configuration and secure disclosure endpoints.

If upgrading is not immediately possible, security teams should implement immediate manual overrides. This includes modifying collection definitions to explicitly set the access.read constraint of the apiKey field to () => false.

Additionally, read permissions on user collections must be locked down using granular access rules so that non-administrative users can only read their own documents. Finally, any potentially exposed API keys must be immediately rotated to invalidate cached sessions.

Official Patches

Payload CMSFix commit implementing secure API key fields

Fix Analysis (1)

Technical Appendix

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

Affected Systems

Payload CMS running versions 3.x prior to 3.90.0Payload CMS running versions 4.x canary prior to 4.0.0-canary.34

Affected Versions Detail

Product
Affected Versions
Fixed Version
payload
Payload CMS
>= 3.0.0 < 3.90.03.90.0
payload
Payload CMS
>= 4.0.0-canary.0 < 4.0.0-canary.344.0.0-canary.34
AttributeDetail
CWE IDCWE-201, CWE-862
Attack VectorNetwork
CVSS Score7.7
EPSS ScoreN/A
ImpactAccount Takeover / Privilege Escalation
Exploit Statuspoc
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
T1552.001Unsecured Credentials: Credentials In Files
Credential Access
CWE-201
Insertion of Sensitive Information Into Sent Data

The product houses sensitive information in a resource that is accessible to unauthorized actors, resulting in the exposure of this information.

Known Exploits & Detection

GitHub Security AdvisoryTechnical writeup detailing read access to API keys

Vulnerability Timeline

Fix commit authored
2026-09-16
GitHub Security Advisory Published
2026-10-06

References & Sources

  • [1]GitHub Security Advisory GHSA-238x-w2j9-gwwr
  • [2]Payload CMS Fix Commit
  • [3]Payload CMS Release v3.90.0
  • [4]CVE-2026-105849 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

•7 minutes ago•GHSA-VGHH-5RFX-XHQ8
9.9

CVE-2026-48749: Arbitrary Host File Read and Write via Malicious Image Symlink in Canonical LXD and Incus

CVE-2026-48749 (tracked as GHSA-vghh-5rfx-xhq8 for LXD and GHSA-2q3f-q5pq-g8wv for Incus) is a critical container escape vulnerability in the Canonical LXD and Linux Containers Incus system container managers. By importing a specially crafted container image archive containing duplicate tar member headers, an authenticated attacker can replace the instance rootfs directory with a symbolic link pointing to the underlying host root filesystem. When performing file operations on a stopped container, the privileged forkfile helper binary resolves the symbolic link without confinement and chroots directly into the host filesystem, granting arbitrary root-level file read and write access.

Amit Schendel
Amit Schendel
0 views•9 min read
•about 1 hour 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
6 views•10 min read
•about 2 hours 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
7 views•10 min read
•about 6 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 7 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 8 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