/

CVE-2026-130723

Severity:

HIGH RISK

(7.5)

Authorization Bypass (CWE-639) in NocoDB Shared Views

CVE-2026-130723

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-639

Impact:

Information Disclosure

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 shared-view attachment-download endpoint may disclose attachments belonging to records excluded by the view's row filter. An unauthenticated person with a public share link could enumerate sequential primary keys to obtain signed download paths for those attachments.

Affected context

The issue concerns attachment downloads through shared views. It becomes a risk when a public share link is available and attachment access does not consistently enforce the view's row filter for the requested record.

Exploit preconditions

  • Attack surface: The shared-view attachment-download endpoint
  • Required access: A public share link; authentication is not required
  • Trigger point: Requesting attachment downloads for records identified by primary keys
  • Why exploitation is possible: Sequential keys may be enumerated to obtain signed download paths for attachments on records filtered out of the shared view

Why this happens

The underlying issue is an authorization check that may rely on a user-controlled record key without ensuring that the referenced record is visible under the shared view's row filter. This maps to CWE-639: Authorization Bypass Through User-Controlled Key. When attachment access is not bound to the share's permitted record set, a key outside that set may still lead to a valid download path.

Potential impact

  • An attacker may access attachments that the shared view is intended to exclude.
  • Sensitive information contained in those files could be disclosed.
  • Exposed files could create privacy, compliance, or business risks.

General mitigation guidance

Defensive patterns focus on enforcing authorization at the point of every attachment access:

  • Derive record access from the shared view's authorized scope rather than trusting a supplied primary key.
  • Apply row filters consistently to attachment lookup and download operations.
  • Use secure-by-default sharing that exposes only explicitly permitted records and files.
  • Treat public share links and record identifiers as untrusted inputs, and avoid relying on identifier unpredictability as an access control.
  • Limit the privileges and data available to shared-view endpoints.

How teams detect issues like this

Review attachment-download handlers for authorization decisions based solely on client-supplied record identifiers, and verify that row filters are enforced on every access path. Static analysis and code review can flag object lookups followed by file access without a scoped authorization check. Policy tests can confirm that filtered-out records and their attachments remain inaccessible through public shares; monitoring may also help identify unusual sequential-key access patterns.

Sources

SourceLink
github.comgithub.com/nocodb/nocodb/security/advisories/GHSA-879g-fg46-vpv2

Frequently asked

questions

The described attack uses the shared-view attachment-download endpoint and does not require authentication, but it does require a public share link.

A public share link is the stated prerequisite. The attacker can then use sequential primary keys to seek signed paths for attachments on filtered-out records.

Enforce the shared view's authorization scope and row filter for each attachment request, rather than relying on a supplied record key.

Treat identifiers as untrusted, apply authorization consistently across data and file endpoints, and test that records excluded by a view cannot be accessed through alternate routes.

Find out what's already
exploitable in your codebase.