CVE-2026-46552
Published:May 21, 2026
Updated:May 24, 2026
Summary Shared-base sessions were granted the same base-member capabilities as authenticated viewers. Using only the shared-base UUID ("xc-shared-base-id"), an attacker could enumerate base members and invite an arbitrary email into the base as a real member. The invited user could then redeem the invite via the normal signup flow and retain authenticated access even after the owner revoked the shared link. Details Shared-base sessions were mapped to "ProjectRoles.VIEWER" in "packages/nocodb/src/strategies/base-view.strategy/base-view.strategy.ts", and "packages/nocodb/src/utils/acl.ts" granted "baseUserList" and "userInvite" to that role. The shared frontend ("packages/nc-gui/composables/useApi/interceptors.ts") deliberately removed auth headers in favour of the shared-base header, but the ACL middleware did not distinguish shared sessions from genuine viewers. The end-to-end chain: - "GET /api/v2/meta/bases/:baseId/users" returned the member list to shared-base callers ("@Acl('baseUserList')"). - "POST /api/v2/meta/bases/:baseId/users" accepted an invite from shared-base callers ("@Acl('userInvite')"); "base-users.service.ts" inserted a real "nc_users_v2" row with "invite_token" and a "nc_base_users_v2" row for the target base, with "invited_by = null". - The invited account redeemed the invite through the normal signup path ("users.service.ts"), gaining a persistent JWT scoped to the base. - Revoking the shared link did not affect the redeemed account. Impact - Confidentiality: shared-base link exposes member email addresses. - Integrity: shared-base link can mutate base ACL state by creating new members. - Persistence: link-based access converts into durable authenticated access that survives revocation of the share. Credit This issue was reported by "@0xmrma" (https://github.com/0xmrma).
Affected Packages
nocodb (NPM):
Affected version(s) >=0.0.1 <2026.04.1Fix Suggestion:
Update to version 2026.04.1Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Authorization