| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-46549 |
| Date (index) | 2026-06-23 |
| Affected product (index) | NocoDB MCP OAuth token scope bypass |
| GHSA ID | GHSA-M5QG-RVJQ-727P |
| OWASP MCP Top 10 (2025) | MCP02 — Privilege Escalation via Scope Creep |
| Published / disclosed | 2026-06-23 |
| Ecosystem | Application / upstream project |
| Component | NocoDB MCP OAuth token scope bypass |
| EPSS score | 0.001510000 (FIRST EPSS, 2026-06-30) |
| CVSS score | Secondary LOW — 2 CVSS v3.1 |
| CWE | CWE-863 |
| Affected versions | nocodb < 2026.04.1 |
| Fixed versions | 2026.04.1 |
| Fix status | Patched |
| Exploit status | Public CVE record; do not mirror weaponized payloads |
| Notes | Added during the 2026-06-24 missing-CVE review from NVD MCP keyword results. Re-check NVD before using this entry for compliance reporting. |
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.
Exposure depends on how the affected MCP server, client, gateway, plugin, or adjacent AI tool is deployed. Prioritize systems reachable by untrusted users or networks, systems that accept attacker-controlled tool arguments, and systems with access to credentials, browsers, cloud APIs, Kubernetes clusters, databases, email, or desktop automation.
Primary mapped weakness: MCP02 — Privilege Escalation via Scope Creep. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.
MCP components bridge model output to privileged tools. Vulnerabilities in authentication, scope enforcement, command execution, SSRF validation, secret handling, or tool registration can turn prompt/tool input into host compromise, credential disclosure, unauthorized cloud/database access, or persistent malicious tool execution.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.
Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
Track NVD references for CVE-2026-46549 and apply the upstream patched release or commit recommended by the vendor/CNA.