Skip to content
OpenAdvisories
Low · 2.0 CVE-2026-46549 EUVD-2026-38586GHSA-m5qg-rvjq-727p

NocoDB: OAuth Token Scope Not Enforced at ACL Layer Allows Scope Escalation

Published Jun 23, 2026 · Updated Jun 24, 2026 · Assigned by GitHub_M

Description

NocoDB is software for building databases as spreadsheets. Prior to 2026.04.1, the OAuth token strategy attached oauth_scope and oauth_granted_resources to the request user, but the ACL middleware never consulted either. An OAuth token issued with a restricted scope (e.g. MCP-only) therefore inherited the full permissions of the underlying user across all routes; the granted_resources.base_id restriction was bypassed on org-level endpoints that don't populate req.context.base_id. This vulnerability is fixed in 2026.04.1.

Affected products

VendorProductAffectedFixed
nocodb nocodb < 2026.04.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm nocodb <= 0.301.3 — GHSA-m5qg-rvjq-727p

References