/

CVE-2026-130690

Severity:

HIGH RISK

(8.8)

Incorrect Authorization (CWE-863) in NocoDB ACL Middleware

CVE-2026-130690

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-863

Impact:

Privilege Escalation, Instance Takeover, and Exposure or Modification of SSO Secrets

Severity:

HIGH RISK

(8.8)

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

An authorization flaw in NocoDB allows organization Creators to access routes intended for users with other roles because the ACL middleware does not enforce its allowed-role restrictions. Depending on the routes reached, this could let an attacker generate a super admin password reset link or read and modify SSO client secrets.

Affected context

The issue occurs in NocoDB's role-based access control middleware and affects routes whose access is intended to be limited by role. It becomes risky when an organization Creator can reach those routes and the middleware fails to check whether that role is allowed.

Exploit preconditions

  • Attack surface: NocoDB organization-user and other role-restricted routes
  • Required access: An account with the organization Creator role
  • Trigger point: A request to a route protected by the ACL middleware
  • Why exploitation is possible: The middleware does not enforce its configured allowed roles, allowing a Creator to reach actions intended for other roles

Why this happens

The authorization middleware fails to apply the allowed-role rules for protected routes. This is an authorization check implementation error mapped to CWE-863: Incorrect Authorization: access is granted without correctly verifying that the user's role is permitted to perform the requested action.

Potential impact

  • An attacker with organization Creator access may generate a super admin password reset link and take over the instance.
  • SSO client secrets could be exposed.
  • SSO client secrets could be modified, potentially disrupting or undermining authentication integrations.
  • Other role-restricted actions could be accessible to users who should not be authorized.

General mitigation guidance

Defensive patterns include enforcing authorization checks consistently at every protected route and defaulting to denial when a role or permission check is missing or inconclusive. Centralized, explicit permission policies can reduce inconsistent checks; sensitive actions should also verify the caller's privileges at the point of execution. Limit account privileges and protect secrets from unnecessary access, and use tests to confirm that disallowed roles cannot access sensitive operations.

How teams detect issues like this

  • Review authorization middleware and route definitions for configured roles that are not actually checked.
  • Use static analysis or code review to identify routes where authentication is present but role or permission enforcement is absent.
  • Add policy tests that verify both permitted and denied roles for sensitive endpoints, including organization-user and SSO operations.
  • Monitor access to password-reset and SSO-secret operations for unexpected roles or unusual activity.

Sources

SourceLink
github.comgithub.com/nocodb/nocodb/security/advisories/GHSA-4rrc-r66w-5v7f

Frequently asked

questions

An organization Creator may be able to reach routes restricted to other roles when those routes rely on the affected ACL middleware.

The described attack requires organization Creator access; the issue is not described as unauthenticated access.

Enforce explicit, deny-by-default role or permission checks on every sensitive route and action.

Keep access policies centralized and test them with both authorized and unauthorized roles. Review sensitive routes for missing or inconsistent enforcement.

Find out what's already
exploitable in your codebase.