MEDIUM

CVE-2026-46552

2026-06-23 CVSS v3.1
CVSS
5.8

Description

NocoDB is software for building databases as spreadsheets. Prior to 2026.04.1, 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. 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. This vulnerability is fixed in 2026.04.1.

Summary dbcve.org

NocoDB versions prior to 2026.04.1 incorrectly mapped shared-base sessions (accessed via xc-shared-base-id UUID) to ProjectRoles.VIEWER, granting them baseUserList and userInvite permissions. This allowed attackers with only the shared-base UUID to enumerate base members and invite arbitrary email addresses as real members, who retained authenticated access even after shared link revocation.

Mitigation

Upgrade to NocoDB version 2026.04.1 or later, which fixes the ACL middleware to properly distinguish shared-base sessions from authenticated viewers.

Weakness (CWE)

CWE-285 Improper Authorization

EPSS Score

0.31%
Probability of exploitation in next 30 days
24.4th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE