Est.

Tool-Level RBAC Gaps in Native MCP Servers and the Security Risk of Trusting Vendor Claims

Native MCP can't prove a vendor's RBAC claims, so enterprises need their own gateway.

· 9 min read
Cover illustration for “Tool-Level RBAC Gaps in Native MCP Servers and the Security Risk of Trusting Vendor Claims”
Security Policy · November 15, 2026 · 9 min read · 1,964 words

The strongest architecture for enterprise MCP security is a gateway the enterprise controls, combining OAuth 2.1 authentication with tool-level RBAC enforced on every call. Native MCP provides no protocol-level way to verify a server’s claimed tool permissions, so vendor attestation is not proof of enforcement. The test is whether the enterprise can observe, enforce, and audit its own access policy at runtime.

What MCP actually specifies about access control — and what it leaves out

MCP defines how clients and servers discover capabilities and invoke tools. Tool-level role-based access control is outside that contract. This is a deliberate boundary. The National Security Agency’s May 2026 advisory states that “associating a session to an identity is not defined by the protocol” and that MCP “currently lacks support for exchanging Role Based Access Control (RBAC) permissions at instantiation”. Authentication and authorization are therefore still separate jobs, even when a system treats a successful connection as permission to proceed.

The audit contract is incomplete as well. The original March 2026 roadmap put structured audit logging in extensions outside the core specification. The updated August 2026 roadmap reorganized priorities and no longer names it explicitly. A common language for invoking tools does not, by itself, create a common record of who used them or which rule allowed the action.

The July 2026 specification revision, finalized on 28 July, hardened some weaknesses but also removed the initialize handshake and the Mcp-Session-Id header in favor of a stateless core. That change rules out anchoring authorization to a protocol session. Every call must present its own identity. Per-call enforcement follows from that design, but the protocol still does not mandate what the enforcement must look like.

What "all-or-nothing access" means in practice for a connected agent

Pipelab’s MCP authorization analysis identifies a dominant failure mode in which servers validate a token and then execute whatever its holder requests. Authentication works. Authorization is missing from the transaction. Because the protocol has no tool-level scope mechanism built in, most deployed servers let a connected agent use every tool they expose. The connection becomes the permission boundary, even when the tools behind it have very different consequences.

A developer who needs to read a database can therefore receive write access simply because the same MCP server exposes both capabilities. The task has not changed, but the available authority has expanded. OWASP’s MCP Top 10 names the related risk “Privilege Escalation via Scope Creep”, in which broad access granted for one legitimate task remains available to a subsequent compromise. An agent’s next task need not justify the permissions left over from its last one.

Even a server with careful tool-level RBAC cannot answer every question about what a caller is allowed to do. Tool calls may pass through multiple hops, or an agent may chain tools that together do more than any one server can see. A caller can still misuse a server’s authority after passing that local permission check. When permission depends on upstream state or content outside the server’s view, server-side enforcement alone cannot make the complete decision.

How fast adoption turned the RBAC gap into a fleet-wide governance crisis

The NSA advisory states that MCP’s “rapid proliferation has outpaced the development of its security model”. It describes adoption in experimental and production deployments across business, finance, legal, and software development. Within roughly a year of MCP’s release, large organizations went from no internally built MCP servers to dozens. Teams implemented authentication independently, producing a mix of unauthenticated endpoints, API keys, and full OAuth implementations. The fleet lacked a shared permission model or common audit trail.

Shadow MCP makes that fragmentation hard to measure. Organizations routinely discover dozens of unmanaged endpoints during a first audit, including servers installed months earlier and then forgotten. The security team may know about two or three. An unknown endpoint is not just missing from an inventory. It sits outside the organization’s account of which agents can reach which systems.

The authentication baseline has not resolved that governance problem. Only a small share of servers use OAuth 2.1, though it has been required for internet-accessible servers since the March 2025 specification revision. Nor is there a consistent way to offboard a departing employee across servers built by different teams under different authentication schemes. Removing access takes work across the fleet, just where teams are least sure which servers belong to it.

Why vendor RBAC claims cannot be verified from outside the server

MCP has no built-in channel that lets a buyer see and check the access-control decision behind each tool call. The NSA advisory identifies authorization and credential isolation as unstandardized at the protocol level. A server may implement both correctly. What it cannot provide through MCP alone is a standard, externally verifiable account of what the authenticated caller was permitted to do and how that permission was enforced.

That is a narrow but consequential trust gap. A successful MCP connection supplies no proof of tool-level enforcement. A vendor’s statement about built-in RBAC remains an attestation unless the buyer has a separate means of examining the control.

Product language makes the distinction harder to see. Vendors use “MCP gateway” for routing infrastructure with identity mapping, for a governance plane that owns identity, policy, inspection, and audit, and for hybrids that add hosting. Tool-level RBAC is commonly sold as a feature of an enterprise gateway that sits above servers, while most individual servers lack it.

Server-level RBAC decides whether a caller can use a server at all, so it leaves the read-versus-write problem in place. Tool-level permission is the relevant boundary for that task. A feature named RBAC can be present without providing the granularity an enterprise needs.

What happens when that trust is misplaced — documented incidents involving RBAC-adjacent failures

Invariant Labs uncovered a prompt-injection attack against the official GitHub MCP server in May 2025. A malicious public GitHub issue redirected an AI assistant, which used legitimate MCP tool calls to retrieve private repository data and leak it into a public pull request. The leak included private repository contents, details of internal projects, and information about personal salaries. The root cause was a lack of isolation between trusted and untrusted data sources in the agent system, with broad personal access token scopes enabling the attack. Valid calls were not necessarily legitimate actions.

Anthropic’s official Git MCP server was the subject of three exploitable prompt-injection CVEs found by researchers in January 2026. The supplied findings establish the limit of authorship as assurance, while leaving missing RBAC alone unproven as the cause of those vulnerabilities. Even a first-party implementation from the organization that created MCP needed security checks by outsiders.

The Azure MCP Server disclosed sensitive information without credentials in the April 2026 incident assigned CVE-2026-32211, with a CVSS score of 9.1. API keys and tokens were among the information that could have been exposed. A patch is available for the missing-authentication flaw. Whatever tool policy sits behind authentication cannot protect a path that does not require authentication in the first place.

DoD guidance describes a related injected-instruction scenario in which an agent exfiltrates sensitive data through a connected API without triggering traditional CASB or DLP controls. These are distinct RBAC-adjacent failures. Together, they show why access policy, credential boundaries, and the trustworthiness of tool content cannot be assessed in isolation.

How should an enterprise MCP gateway enforce OAuth 2.1 and tool-level RBAC?

An enterprise-controlled gateway moves the permission decision out of an opaque server and into infrastructure the buyer can govern. It sits between agents and the MCP server fleet, terminates client connections, enforces centralized authentication and RBAC, maintains a server registry, and streams execution logs. Each server can then rely on that security stack without having to build the whole stack itself. The control becomes observable at the point of access.

For a multi-agent deployment, OAuth 2.1 authentication belongs with per-call authorization. Agents should act under persistent identities from the organization’s existing identity provider, such as Okta or Entra. Credentials should be short-lived and scoped to the task. The gateway should check and log every prompt and tool call, with attribution to a named person, so that authentication, permission, and accountability meet at the same enforcement point.

The stateless core strengthens the case for this placement. Without a protocol session to anchor permission, each call needs its own decision, consistently applied across servers with different implementations. A gateway under enterprise control provides that common boundary. It also creates a place for controls that an individual server cannot supply when the relevant identity, upstream context, or policy spans multiple systems. Those controls still have to be implemented. The word “gateway” does not install them.

Limits of the gateway model and what it cannot fix on its own

A gateway concentrates responsibility as well as control. A recent LiteLLM CVE illustrates the risk of an authentication flaw at that boundary. The GitLab/BerriAI advisory describes an endpoint that could let an unauthenticated attacker establish an authenticated MCP session using an arbitrary bearer token. Wiz’s research found that the fallback granted an empty authentication object. The flaw still undermined the authentication boundary on which downstream policy depended, making gateway hardening part of the security argument.

Local stdio transports exchange data over standard input/output pipes between a desktop AI client and an MCP server. They generate no network events for a proxy, firewall, or CASB to inspect. A gateway cannot govern conversations that never pass through it, so a deployment diagram is not evidence of complete coverage.

Audit evidence has a similar boundary. OpenTelemetry records what instrumented applications emit about themselves, making it useful evidence of what instrumented code did. It says nothing about uninstrumented, misconfigured, or hostile agents that emit no useful record. The access broker must generate the audit trail independently of the servers it governs.

Even correctly brokered calls can return dangerous content. Call-time authorization does not itself check responses for prompt-injection payloads or credential leaks. Checks on each server still have a role, while content inspection checks the data as it moves between systems.

What enterprises should require instead of trusting vendor attestation

Enterprises should replace “Does your server support RBAC?” with a demand for runtime evidence from infrastructure they control. The evidence should show which identity requested a tool call, which policy applied, and what the call did. A server’s own assertion is not enough. The buyer’s enforcement layer must be able to observe and log the transaction, with the audit record generated at the gateway rather than supplied solely by the server being governed.

That requirement begins with discovering shadow MCP endpoints and bringing them under governance. A ban without visibility changes nothing about unknown connections. Each agent should then receive a persistent identity from the existing identity provider, rather than a shared service account or static API key in a configuration file. Credentials must be short-lived and task-scoped, and agents should never see raw secrets.

Tool permissions must govern discovery as well as execution. Per-caller tool-list filtering should keep unauthorized tools out of the agent’s view, rather than relying only on rejection when it tries to call them. Every prompt and tool call should be checked, logged, and attributed to a named person and the applicable rule. These requirements make the policy inspectable where access is granted.

Stacklok’s enterprise IT security guide frames each MCP server as a privileged software component that can authenticate to, read from, and write to connected systems. The security team is governing that fleet. Pipelab’s analysis separates the work into credential hygiene at rest, authorization at call time, and content inspection in flight, because none substitutes for the others.

Agents governed like employees is the appropriate standard. Persistent identities, scoped credentials, and attributable actions are the same bar applied to human privileged access. Enterprise accountability begins where permission can be demonstrated.

Sources

  1. U/OO/6030316-26
  2. [2608.10760] A Gateway Architecture for Enterprise MCP Authentication: Unifying Heterogeneous Auth, Identity Delegation, and the User / Non-User Persona Problem
Filed underSecurity Policy

More in Security Policy