Est.

Third-Party AI Agent Access to Enterprise Systems

Role-based access fails AI agents; per-resource checks don't.

· 8 min read
Cover illustration for “Third-Party AI Agent Access to Enterprise Systems”
Vendor AI Risk · November 12, 2026 · 8 min read · 1,847 words

Third-party AI agent access to enterprise systems requires authorization as well as identity verification. Access models built around human sessions and fixed roles cannot reliably keep agents in check when they act at machine speed and pass on borrowed privileges. Governing that access starts with understanding where the models fail, then enforcing permissions at the level of each resource, action, and delegation.

Why third-party AI agents are a different kind of principal than the systems that govern them expect

Traditional identity and access management assumes a recognizable pattern. A human logs in, works within a session and a fixed role, acts at human speed, and eventually logs out. An agent may call hundreds of API endpoints in seconds with no session timeout, while dozens of instances run in parallel for different users or tenants.

Agents also use machine-to-machine credentials to authenticate. Their instances are ephemeral, so tokens cannot simply be shared among them. Their authority is often borrowed from a human, whose loss of access should revoke theirs too. Because agents can spawn sub-agents, that authority must also survive delegation without expanding.

Microsoft introduced Entra Agent ID as a native identity class, NIST published a concept paper on agent identity in February 2026, and the IETF is working on Internet-Drafts for an /Agents resource in SCIM. Identity recognition is only the starting point. Authentication proves which agent has arrived, while authorization must establish what that agent may do now, for this user, to this resource.

How the governance-to-deployment gap turns the access mismatch into a live inventory problem

CrowdStrike Falcon Guardian’s agent discovery found thousands of active AI agents on day one at a Fortune 500 company that had approved only a few hundred. The case surfaced in August 2026 and identified Claude Code, OpenAI Codex, Cursor, and Kiro among the agents present. The inventory described a different estate from the one actually running.

That disparity grows through ordinary deployment habits. Developers can add MCP servers with a few lines of local configuration, bringing in integrations without the security review they would normally need. A server configured in an afternoon can hold OAuth scopes broad enough to read private repositories or query production databases. Engineering, product, finance, and sales can each introduce agents independently, leaving no single team with the full picture.

This leaves orphaned non-human identities with standing privileges. Authorization cannot govern an agent that the enterprise has never inventoried, and lifecycle controls cannot retire one that nobody remembers commissioning.

Why RBAC cannot express what third-party agent access actually requires

A known and authenticated agent can still act unsafely as a Confused Deputy. A troubleshooting agent can use elevated credentials to serve a lower-privileged request and expose a production API key. The agent need not violate its own permissions. The failure is that authorization never checked the intersection of the agent’s privileges and the requesting user’s privileges.

Role-based access control, or RBAC, grants a bundle where the task needs a slice. A data-pipeline role may cover an entire pipeline when an agent needs read access to one source for one tenant. A code analysis role may cover many repositories when the request concerns just one. Making a separate role for every repository, agent, and task leads to role explosion and a policy that is hard to manage.

The mismatch also extends beyond retrieval. In a shared workspace, permission to fetch information does not establish permission to show it to everyone present. Authorization must account for the audience at output. Meanwhile, a coding agent may need to read one repository today and write to another tomorrow, forcing static roles toward either obstruction or unnecessarily broad access.

How MCP's protocol neutrality on governance creates three compounding authorization vulnerabilities

MCP connects agents to enterprise systems, but delegates authorization decisions to the implementer. Coarse scopes such as files:read can span everything a user can see, from a README to a production .env file.

Three vulnerabilities compound at that boundary. A confused deputy uses the MCP server’s elevated downstream credentials on an agent’s behalf. Token passthrough instead forwards the user’s OAuth token, allowing access to data the user may legitimately see but should not reach through an AI intermediary. Excessive permissions, the most common of the three, give agents standing credentials that let them do more than their current task needs.

The supply chain adds another entry point. Security researchers found hundreds of malicious repositories posing as AI Skills or MCP servers, some of which agents had found and recommended on their own. CrowdStrike’s Fal.Con September 2026 demonstration showed the execution risk concretely. A Claude Code agent followed a link in repository documentation to a GitHub issue containing hidden instructions to load a skill and exfiltrate AWS credentials. The sensor blocked the exfiltration, but the steps showed how text that an attacker controls could become instructions to tools that can use a shell.

Why multi-agent delegation chains break the privilege containment that least privilege assumes

Delegation adds a second direction in which permissions can escape. When Agent A spawns Agent B, the child should receive a strict subset of the parent’s permissions. Passing the parent’s full token defeats that containment.

A low-trust agent that deals with customers and can use a wide range of internal tools can thus become a stepping stone to privileged systems. Each handoff may look valid on its own while the chain as a whole crosses a boundary it should keep intact. Least privilege must therefore apply to the whole chain as well as to each agent on its own.

The same chain must support revocation. If the human who first delegated access loses it, every descendant agent must lose that same access. Static service accounts cannot do that when there is no record of which agents are part of the delegation. Okta’s IAM analysis frames the requirement as continuous access evaluation. Fine-grained authorization supplies the resource boundaries, while OAuth 2.0 Token Exchange, RFC 8693, provides a mechanism for issuing downscoped tokens at each handoff.

What fine-grained authorization actually enforces that RBAC cannot, and where each model fits

Diagram: Why RBAC Fails Agents: Three Access Models Compared. Visualizes: Show a ranked progression of three authorization models by specificity of control: RBAC (grants a bundle — e.g.

The design response is to make grants individually revocable and decisions sensitive to both parties’ permissions. Fine-grained authorization, or FGA, can represent an explicit relationship between an agent and an individual resource. Removing that relationship revokes that grant without dismantling a broad role. Checking the intersection of agent and user permissions addresses the confused deputy directly, while shared-context checks must also account for the people receiving the output.

RBAC remains suitable for simple, deterministic agents with predictable tool access. Attribute-based access control, or ABAC, adds conditions such as resource sensitivity, department, time of day, and tenant isolation. Relationship-based access control, or ReBAC, expresses the connections between subjects and resources, while token exchange narrows delegated authority.

For retrieval-augmented generation, those layers can limit an agent to internal project Phoenix documents, keep it out of financial documents, and let it summarize without copying or export. Intent-based access control extends the model by linking the stated mission to the resource hierarchy.

Permit.io evaluates RBAC, ABAC, and ReBAC through a single check API for users, services, and agents. WorkOS FGA provides hierarchical resource modeling, resource-scoped roles, and sub-50ms authorization checks. Both illustrate how agents can enter an existing policy model.

How to govern MCP server access specifically, where most third-party agent risk is currently concentrated

For MCP deployments, these principles require enforcement at the gateway, tool, and data layers. A centralized gateway gives security teams a single inventory of integrations. OAuth 2.1-based identity binding lets agents inherit scoped user permissions. Effective access then reflects both what the server can do and what the user may do.

Tool-level controls narrow that access further. Each agent needs an enforced allowlist limited to the tools required for its stated purpose. Destructive or irreversible actions, including database deletions, financial transactions, bulk record changes, and outbound data transfers, require explicit human approval before execution. The data layer must remain independently restrictive. Column-level authorization can let a marketing analyst see campaign metrics while keeping customer email addresses in the same table out of view.

Permit.io’s MCP Gateway evaluates tool calls against the policy graph used by APIs and services. Layered enforcement means bypassing one control does not remove the next. The AIUC-1 Q2 2026 release, effective April 15, 2026, formalized attention to MCP and Agent-to-Agent protocol security, agent identity and access management, and third-party risk monitoring.

What authorization performance and reliability requirements look like when agents generate authorization checks at machine speed

Every added check is on the request’s critical path. Practitioners should measure P99 latency because averages can hide how much longer checks take during cold starts than when the system is running steadily. Agents make so many requests that they often hit those slow cases.

Permit.io’s Nexus PDP benchmarks at 5.6ms P99 for server-side RBAC checks. That is a useful performance anchor specific to the benchmark’s policy and deployment. Local enforcement keeps decisions close to the workload, with a sidecar running the authorization engine in the application’s pod and returning results through gRPC in a few milliseconds. It avoids the remote-service round trip. A local engine can also continue making decisions during a brief central authorization outage.

Connection reuse and token-based identity propagation reduce redundant mTLS handshakes across delegation chains. Keeping policy separate from application code also lets security teams change access rules without having to redeploy the microservices. That separation has operational value beyond speed. Agent governance needs quick policy changes, and making each change wait for an application release makes the control harder to keep up to date when it needs to change.

What compliance and audit requirements mean concretely when no human authorized the action an agent took

An auditor may find a generic service-account log entry followed by an action, with no authorization chain connecting them. Nobody clicked confirm, and no ticket explains how the access was delegated. The missing evidence shows that the system cannot explain why the action was permitted.

SOC 2 CC6.3 requires access authorization, modification, and removal based on roles, responsibilities, or system design, with consideration for least privilege and segregation of duties. A system prompt saying “never delete” gives the agent an instruction. Unnecessary deletion capability should not be granted in the first place. For evidence supporting CC6.1, practitioner-derived log minimums include a UTC timestamp, actor identity, action, affected resource, source, and outcome, although the criterion prescribes no fixed schema. Agent events also need both the triggering user and executing OAuth identity, preserved in append-only or cryptographically signed logs.

Retention depends on the obligation. GDPR has no fixed period, with purpose-based retention typically 1–3 years, while SOC 2 Type II coverage commonly calls for 12–15 months. SEC cybersecurity disclosure rules do not prescribe a log-retention duration.

Permit.io and WorkOS FGA log authorization decisions with reasons that can be forwarded to a SIEM. That joins the decision to its evidence. Runtime enforcement and audit logging should operate as one system, so each agent action produces an attributable explanation of its authority. The architecture then governs what an agent may do, rather than merely recording that a recognizable machine did it.

Sources

  1. The role of AI in IAM: Securing the agentic frontier
  2. Securing AI Agents: Implementing Role-Based Access Control for Industrial Applications
  3. Runtime Authorization for Resources Acquired by AI Agents
Filed underVendor AI Risk

More in Vendor AI Risk