GitHub Advisory Database
GHSA-97rh-rhh2-7vjv
Payload: Remote Code Execution through first-register
Details
Impact
A crafted request to the public first-register operation can be used to perform a RCE exploit.
You are affected if:
- You use local auth strategy and your application remains without an initial user created
Patches
In the patched version data submission to create first user is properly sanitized.
Users should upgrade Payload packages to >= 3.90.0 or >= 4.0.0-canary.34.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | payload | All versions before 3.90.0 (fixed in 3.90.0) |
| npm | payload | From 4.0.0-canary.0 before 4.0.0-canary.34 (fixed in 4.0.0-canary.34) |
References
- https://github.com/payloadcms/payload/security/advisories/GHSA-97rh-rhh2-7vjv
- https://nvd.nist.gov/vuln/detail/CVE-2026-105858
- https://github.com/payloadcms/payload/commit/e947fc4ba4a434f276d043386e501b1d14eda679
- https://github.com/payloadcms/payload
- https://github.com/payloadcms/payload/releases/tag/v3.90.0