/

CVE-2026-130727

Severity:

HIGH RISK

(7.5)

Authorization Bypass (CWE-639) in NocoDB Shared Views

CVE-2026-130727

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-639

Impact:

Unauthorized access to records, linked data, and attachments

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

NocoDB's public shared-view endpoints can retrieve records by primary key without enforcing the view's row filter. Someone with an anonymous share link may be able to enumerate sequential keys to access excluded linked data or download associated attachments.

Affected context

The issue occurs in public shared-view endpoints that fetch records by primary key, including link, has-many, and attachment download endpoints. It becomes risky when an endpoint does not apply the shared view's row filter to the fetched record, allowing a share-link holder to access data excluded from the view.

Exploit preconditions

  • Attack surface: Public shared-view link, link, has-many, or attachment download endpoints
  • Required access: An anonymous share link; authenticated access is not described as necessary
  • Trigger point: A request that fetches a record or attachment using its primary key
  • Why exploitation is possible: The endpoint fetches by key without applying the view's row filter, and sequential keys may be enumerable

Why this happens

The underlying issue is an authorization check that does not constrain primary-key lookups to the records permitted by the shared view. This maps to CWE-639: Authorization Bypass Through User-Controlled Key, where a user-controlled identifier can select an object without an effective authorization check. The row filter is not consistently enforced across the affected retrieval paths.

Potential impact

  • Anonymous share-link holders may access records excluded from the view
  • Linked data may be disclosed through link or has-many endpoints
  • Attachments associated with excluded records could be downloaded
  • Enumeration may expose more data than the shared view was intended to reveal

General mitigation guidance

Mitigation generally focuses on enforcing authorization consistently at the point where each record or attachment is retrieved.

Common defensive patterns include:

  • Applying the shared view's row filter to every record lookup, including relationship and attachment paths
  • Deriving authorization from the active share context rather than trusting a supplied primary key
  • Using secure-by-default access controls that deny access when authorization cannot be established
  • Limiting the data and operations available to anonymous share links
  • Avoiding predictable identifiers as a substitute for authorization, and applying least privilege to shared access

How teams detect issues like this

High-level detection approaches include:

  • Reviewing endpoint code for primary-key lookups that do not apply view-level authorization or row filters
  • Using static analysis or code review checks to flag object retrieval based on user-controlled identifiers without an authorization check
  • Testing that records excluded by a shared view remain inaccessible through direct, relationship, and attachment retrieval paths
  • Enforcing policies that require authorization checks for every object access path, including anonymous endpoints

Automated code review tools may help identify inconsistent checks, but should be paired with tests of the actual access controls.

Sources

SourceLink
github.comgithub.com/nocodb/nocodb/security/advisories/GHSA-xjxh-mq5w-mpq6

Frequently asked

questions

A person with an anonymous shared-view link may be able to access data excluded from that view if the affected endpoints can be reached.

The description indicates that anonymous share-link holders can exploit the issue; a separate authenticated account is not described as required.

Apply the view's authorization and row-filter rules to every record, relationship, and attachment lookup, including lookups by primary key.

Treat every supplied record identifier as untrusted, check authorization at each object access point, and test that restricted records cannot be retrieved through alternate endpoints.

Find out what's already
exploitable in your codebase.