/

CVE-2026-126275

Severity:

HIGH RISK

(7.1)

IDOR (CWE-639) in NocoDB Cross-Base Comment Access

CVE-2026-126275

Deferred

Vulnerability type

Category:

Insecure Direct Object Reference (IDOR)

CWE:

CWE-639

Impact:

Cross-base data exposure and potential comment spoofing

Severity:

HIGH RISK

(7.1)

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 has an authorization flaw that can let authenticated users read row comments belonging to another base by supplying model and row identifiers. Depending on access and setup, this may expose private comments and author email addresses, or allow comment spoofing through decoy tables and duplicate IDs.

Affected context

The issue affects NocoDB row-comment access when authorization relies on supplied model and row IDs without adequately checking that the requester is permitted to access the corresponding base and row. An authenticated Viewer or Creator on an unrelated base may be able to access comments across base boundaries; the described spoofing scenario also depends on being able to create decoy tables and duplicate comment IDs.

Exploit preconditions

  • Attack surface: NocoDB row-comment access functionality
  • Required access: An authenticated account with Viewer or Creator access to an unrelated base
  • Trigger point: A request supplying model and row identifiers for comment access
  • Why exploitation is possible: The identifiers may be accepted without a sufficient authorization check tying the requested comment to a base the user can access
  • Spoofing condition: Planting decoy tables and duplicate comment IDs may enable misleading attribution of comments

Why this happens

The underlying issue is an object-level authorization failure. Access decisions based on user-supplied model and row identifiers, without verifying the user's permission for the specific base and row, can expose objects across tenant or base boundaries.

This maps to CWE-639: Authorization Bypass Through User-Controlled Key. The insecure pattern is treating an identifier as proof of authorization rather than checking access to the identified resource.

Potential impact

  • Authenticated users may read private comments from bases they cannot otherwise access.
  • Comment content may reveal sensitive information, including author email addresses.
  • Users may be able to create misleading or spoofed comments under certain table and identifier conditions.
  • Exposed comments could undermine confidentiality and trust in collaboration records.

General mitigation guidance

Mitigation generally centers on enforcing authorization for each requested object, rather than trusting identifiers supplied by the client.

Common defensive patterns include:

  • Scoping comment lookups to bases and rows the authenticated user is authorized to access.
  • Checking permissions server-side on every read and write operation.
  • Using tenant-aware data access layers that apply authorization constraints by default.
  • Avoiding identifier uniqueness assumptions as a substitute for access control.
  • Applying least privilege to user roles and reviewing access boundaries between bases.

How teams detect issues like this

Useful detection approaches include:

  • Reviewing comment lookup paths for authorization checks tied to the specific base and row.
  • Using static analysis or code review to flag object retrieval based on client-controlled IDs without nearby permission checks.
  • Testing that users cannot retrieve comments across bases by changing model or row identifiers.
  • Enforcing policy checks in APIs and data-access layers, and monitoring for repeated cross-base access attempts.

Sources

SourceLink
github.comgithub.com/nocodb/nocodb/security/advisories/GHSA-x3xv-qpw2-33x6
vulncheck.comvulncheck.com/advisories/nocodb-before-2026.09.0-idor-in-row-comment-operations

Frequently asked

questions

The described scenario involves authenticated users with Viewer or Creator access to an unrelated base. The exact scope depends on how the deployment grants access and handles row-comment requests.

Yes. The vulnerability description specifies authenticated users; unauthenticated access is not established.

Authorize each comment request against the specific base and row on the server. Do not treat supplied model or row IDs as proof that the requester can access those objects.

Use tenant-aware authorization checks by default, test access boundaries between bases, and review APIs that retrieve objects using client-controlled identifiers.

Find out what's already
exploitable in your codebase.