# CVE-2026-105858: Payload CMS remote code execution in first-register operation

Source: https://junglewise.ai/threats/cve-2026-105858-payload-is-a-free-and-open-source-headless-content-management  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-06. Updated: 2026-10-06  
License: CC BY 4.0 with a link back

CVE-2026-105858 · Severity: high · CVSS 8.1 · Published 2026-10-06

Payload is a headless content management system used to manage digital content for websites and applications. When local authentication is enabled and no initial user has been created, an attacker can send a crafted request to the public registration endpoint to execute arbitrary code on the server, potentially gaining full control of the system and its data.

Technologies: [payload (npm)](https://junglewise.ai/threats/technologies/payload), [Payload CMS](https://junglewise.ai/threats/technologies/payload-cms). Vendors: [npm](https://junglewise.ai/threats/vendors/npm), [Payload](https://junglewise.ai/threats/vendors/payload).

## Quick answers

**Is CVE-2026-105858 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-105858 being exploited in the wild.

**How severe is CVE-2026-105858?** High severity, with a CVSS score of 8.1, published 6 October 2026.

**Which products and versions are affected?** payload (npm) SEMVER:introduced=0,fixed=3.90.0; Payload CMS before 3.90.0 and canary versions before 4.0.0-canary.34.

**Is there a fix for CVE-2026-105858?** Yes. payload (npm): upgrade to 3.90.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-105858 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-105858?** Check whether you run payload (npm) or Payload CMS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- payload (npm): upgrade to 3.90.0 or later

  ```sh
  npm install payload@3.90.0
  ```


## Technical details

A remote code execution vulnerability exists in the first-register operation when local authentication is enabled and no initial user has been provisioned. An unauthenticated attacker can craft a malicious request to the public registration endpoint to execute arbitrary code. The vulnerability has been fixed by restricting access to public admin verification routes.

## Affected products

- Payload Payload CMS before 3.90.0 and canary versions before 4.0.0-canary.34

## Identifiers

- CVE-2026-105858
- GHSA-97rh-rhh2-7vjv

## Timeline

- 2026-10-06: disclosed

## References

- [https://github.com/payloadcms/payload/commit/e947fc4ba4a434f276d043386e501b1d14eda679](https://github.com/payloadcms/payload/commit/e947fc4ba4a434f276d043386e501b1d14eda679)
- [https://github.com/payloadcms/payload/releases/tag/v3.90.0](https://github.com/payloadcms/payload/releases/tag/v3.90.0)

## Related threats

- [Payload CMS stored XSS in XML upload handling](https://junglewise.ai/threats/cve-2026-105868-payload-is-a-free-and-open-source-headless-content-management)
- [Payload CMS account lockout denial of service](https://junglewise.ai/threats/cve-2026-105866-payload-is-a-free-and-open-source-headless-content-management)
- [Payload CMS path traversal in file deletion](https://junglewise.ai/threats/cve-2026-105865-payload-is-a-free-and-open-source-headless-content-management)
- [Payload CMS authentication token tampering via reserved JWT fields](https://junglewise.ai/threats/cve-2026-105863-payload-is-a-free-and-open-source-headless-content-management)
- [Payload CMS stored XSS in SVG upload sanitization](https://junglewise.ai/threats/cve-2026-105862-payload-is-a-free-and-open-source-headless-content-management)
