OverReach: Permitted MCP Tool Calls That Reach Beyond the Grant
Abstract
AI agents reach issue trackers and other multi-user systems through Model Context Protocol (MCP) servers, and operators restrict them with gateways that check each tool call, by its name and arguments, against a least-privilege policy.
The backend, however, resolves related objects: a permitted read of one issue can return the issue that blocks it, and a permitted comment can append a cross-reference to another issue.
We call such a permitted call an over-reach.
We present OverReach, a method for measuring what a permitted call returns or changes: policy authors do not see the test cases, benign and violating calls are compared at the policy decision point, and a database oracle decides the outcome.
Behind ToolHive and agentgateway, blind policies permitted over-reach on four backends: two issue trackers, a wiki and a calendar.
On Gitea, reads delivered another user's private issue in 10 of 10 repetitions per gateway, and the benign and the violating call were identical on every attribute the policies read.
Our response filter missed locators in generated text, which agentgateway's native guardrails, with our rules, caught; neither response-side control stopped the writes.
The user's own unscoped credential removed cross-user cases but not those reaching the user's other objects.
A GitLab project token stopped every measured cross-project disclosure and write, leaving only a count, but its unit is the project.
A filter that deleted foreign records made two LLM agents deny existing dependencies; behind a placeholder, this was not observed.