GitHub Advisory Database
GHSA-xhm9-gwgw-3q2q
@payloadcms/plugin-multi-tenant has a cross-tenant create issue
Details
Impact
An authenticated user limited to one tenant could create a record in another tenant. This requires the multi-tenant plugin with at least one tenant-enabled collection.
Reads and direct edits to an existing target-tenant document were not bypassed.
You are affected if:
- You are using @payloadcms/plugin-multi-tenant
Patches
Users should upgrade Payload packages to >= 3.90.0 or >= 4.0.0-canary.34.
Workarounds
You can add access control with accessResultOverride on the multi-tenant collection config to ensure a user has access to the tenant before creating.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @payloadcms/plugin-multi-tenant | All versions before 3.90.0 (fixed in 3.90.0) |
| npm | @payloadcms/plugin-multi-tenant | 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-xhm9-gwgw-3q2q
- https://nvd.nist.gov/vuln/detail/CVE-2026-105864
- https://github.com/payloadcms/payload/commit/b8fc06a18afb6974dc07f95ac1e541c716e5926b
- https://github.com/payloadcms/payload
- https://github.com/payloadcms/payload/releases/tag/v3.90.0