{"items":[{"id":"NVI-00016043","kind":"vulnerability","title":"NocoDB: OAuth Token Scope Not Enforced at ACL Layer Allows Scope Escalation","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-m5qg-rvjq-727p","CVE-2026-46549"],"plain_summary":"GitHub lists this reviewed advisory for nocodb. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-1e18b3d78b602bb0afddc78fd563b504"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-20T21:16:10.000Z","value":"2 low","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-0d61d7019fc1fa2f6a985c3566c8c5e2"},{"kind":"CVSS","as_of":"2026-06-25T14:21:00.260Z","value":"2 LOW (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-1e18b3d78b602bb0afddc78fd563b504"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-0d61d7019fc1fa2f6a985c3566c8c5e2","url":"https://github.com/advisories/GHSA-m5qg-rvjq-727p","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-m5qg-rvjq-727p","publisher":"GitHub Advisory Database","observed_at":"2026-11-04T02:47:44.783Z"},{"id":"sr-1e18b3d78b602bb0afddc78fd563b504","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46549","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-46549","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-08T01:47:36.551Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-0d61d7019fc1fa2f6a985c3566c8c5e2"],"technology":"nocodb","known_exclusions":[],"conditions_summary":"### Summary\n\nThe 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`.\n\n### Details\n\nIn `packages/nocodb/src/strategies/oauth-token.strategy.ts`, the strategy set `is_oauth_token`, `oauth_client_id`, `oauth_granted_resources`, and `oauth_scope` on the user object, then mapped through to the user's existing `roles` / `base_roles`. The ACL middleware in `extract-ids.middleware.ts` honoured `is_api_token` via `blockApiTokenAccess` but had no equivalent gate for `is_oauth_token` or scope-string enforcement.\n\nThe base/workspace restriction logic short-circuited when `req.context.base_id` was unset (org-level routes), so an OAuth token scoped to one base could still call org-level endpoints as the underlying user.\n\nThe fix adds a path-prefix allowlist (`['/mcp', '/api/v3/', '/auth/user/me']`) enforced inside the strategy and a `blockOAuth","public_affected_ranges":["<= 0.301.3"]}],"null_published_at":"2026-11-08T19:53:44.035Z","source_updated_at":"2026-07-20T21:16:10.000Z","source_disclosed_at":"2026-05-21T20:34:51.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-11-04T02:47:44.783Z"},{"id":"NVI-00016043","kind":"vulnerability","title":"NocoDB: OAuth Token Scope Not Enforced at ACL Layer Allows Scope Escalation","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-m5qg-rvjq-727p","CVE-2026-46549"],"plain_summary":"GitHub lists this reviewed advisory for nocodb. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-0d61d7019fc1fa2f6a985c3566c8c5e2"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-20T21:16:10.000Z","value":"2 low","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-0d61d7019fc1fa2f6a985c3566c8c5e2"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-0d61d7019fc1fa2f6a985c3566c8c5e2","url":"https://github.com/advisories/GHSA-m5qg-rvjq-727p","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-m5qg-rvjq-727p","publisher":"GitHub Advisory Database","observed_at":"2026-11-04T02:47:44.783Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-0d61d7019fc1fa2f6a985c3566c8c5e2"],"technology":"nocodb","known_exclusions":[],"conditions_summary":"### Summary\n\nThe 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`.\n\n### Details\n\nIn `packages/nocodb/src/strategies/oauth-token.strategy.ts`, the strategy set `is_oauth_token`, `oauth_client_id`, `oauth_granted_resources`, and `oauth_scope` on the user object, then mapped through to the user's existing `roles` / `base_roles`. The ACL middleware in `extract-ids.middleware.ts` honoured `is_api_token` via `blockApiTokenAccess` but had no equivalent gate for `is_oauth_token` or scope-string enforcement.\n\nThe base/workspace restriction logic short-circuited when `req.context.base_id` was unset (org-level routes), so an OAuth token scoped to one base could still call org-level endpoints as the underlying user.\n\nThe fix adds a path-prefix allowlist (`['/mcp', '/api/v3/', '/auth/user/me']`) enforced inside the strategy and a `blockOAuth","public_affected_ranges":["<= 0.301.3"]}],"null_published_at":"2026-11-04T10:04:27.869Z","source_updated_at":"2026-07-20T21:16:10.000Z","source_disclosed_at":"2026-05-21T20:34:51.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-04T02:47:44.783Z"}],"next_cursor":null,"snapshot_revision":"42594"}