/

CVE-2026-130721

Severity:

HIGH RISK

(8.1)

Authorization Bypass (CWE-863) in NocoDB Batch API

CVE-2026-130721

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-863

Impact:

Unauthorized modification or deletion of records

Severity:

HIGH RISK

(8.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 bypass in its internal batch endpoint that can let authenticated base Editors modify records in data-read-only sources. The risk arises when the batch envelope names a writable decoy table while its sub-operations target a different, read-only table.

Affected context

The issue affects NocoDB deployments with the vulnerable batch handling behavior when an authenticated base Editor can access the internal batch endpoint. It becomes risky when authorization is based on the table named in the batch envelope rather than each table targeted by its data operations.

Exploit preconditions

  • Attack surface: NocoDB's internal batch endpoint
  • Required access: An authenticated account with base Editor privileges
  • Trigger point: Processing a batch request containing dataUpdate, dataInsert, or dataDelete sub-operations
  • Why exploitation is possible: The batch envelope can name a writable decoy table while a sub-operation targets a data-read-only source table, bypassing the intended access restriction

Why this happens

The authorization check does not consistently bind the permission decision to the resource affected by each operation. If the system trusts the table named in the batch envelope instead of independently authorizing every sub-operation against its target, an Editor may perform actions outside their intended permissions. This is an authorization enforcement failure mapped to CWE-863: Incorrect Authorization.

Potential impact

  • An attacker may alter records in a data-read-only source.
  • An attacker could insert unauthorized data or delete existing records.
  • Data integrity and availability may be affected.

General mitigation guidance

Defensive patterns include authorizing every batch sub-operation against its actual target resource and operation, rather than relying on envelope-level metadata. Systems can reject requests when envelope and sub-operation targets do not align, apply deny-by-default checks for read-only sources, and minimize the privileges granted to user roles and service accounts. Treat client-supplied resource identifiers as untrusted and enforce consistent authorization at the point where each change is applied.

How teams detect issues like this

Review batch-processing code for authorization decisions made only at the request-envelope level, and check whether each sub-operation is independently authorized against its target. Static analysis and code review can flag paths where client-supplied table identifiers influence authorization or where read-only policy checks are missing. Policy tests can verify that Editor roles cannot write to read-only sources through any endpoint or batch operation.

Sources

SourceLink
github.comgithub.com/nocodb/nocodb/security/advisories/GHSA-q742-6g25-cvm9

Frequently asked

questions

It affects an application endpoint and may be exploitable over the network where that endpoint is reachable, but it requires authentication and base Editor privileges.

The attacker needs an authenticated account with base Editor permissions and access to the internal batch endpoint.

Check authorization separately for every sub-operation using its actual target table and requested action.

Apply deny-by-default authorization consistently across endpoints, treat client-supplied resource identifiers as untrusted, and test that role restrictions hold for batch and bulk operations.

Find out what's already
exploitable in your codebase.