Incorrect Authorization Affecting @payloadcms/plugin-multi-tenant package, versions <3.90.0>=4.0.0-canary.0 <4.0.0-canary.34


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PAYLOADCMSPLUGINMULTITENANT-20883332
  • published13 Oct 2026
  • disclosed7 Oct 2026
  • creditvalmet083

Introduced: 7 Oct 2026

NewCVE-2026-105864  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade @payloadcms/plugin-multi-tenant to version 3.90.0, 4.0.0-canary.34 or higher.

Overview

@payloadcms/plugin-multi-tenant is a Multi Tenant plugin for Payload

Affected versions of this package are vulnerable to Incorrect Authorization via the tenantField default value logic in packages/plugin-multi-tenant/src/fields/tenantField/index.ts, where the return value of req.payload.count() is used directly as a boolean rather than checking the totalDocs property. Because any non-null object is truthy in JavaScript, the tenant validity check always evaluates to true, allowing an authenticated user to set an arbitrary tenant cookie value and have it accepted as a valid tenant, bypassing tenant isolation controls.

CVSS Base Scores

version 4.0
version 3.1