Read the paper
OverReach: Permitted MCP Tool Calls That Reach Beyond the Grant
on GitHub
Gateways that check each MCP tool call by name and arguments still let permitted calls reach other objects, because the backend resolves related items. Measured on four backends behind two gateways; no tested control closed every channel cleanly.
| Backend | Channel (cases) | Class | T-req | A-req | A-egress | S-sanitize | P-user | P-aware |
|---|---|---|---|---|---|---|---|---|
| Gitea 1.22.6 | dependency read (RDX-06/07, WP-*-S1) | OR 10 | OR 10 | sup 10 | sup 10 | none 10 | – | |
| dependency read (WP-BB-A1, WP-BK-A1) | OR 10 | OR 10 | sup 10 | sup 10 | OR 10 | – | ||
| mention in write (A3-4-05/06) | OR 10 | OR 10 | OR 10 | OR 10 | none 10 | – | ||
| mention in write (A3-4-07) | OR 10 | OR 10 | OR 10 | OR 10 | OR 10 | – | ||
| pin controls (PIN-01..05) | – | deny 10 in every case and configuration | – | |||||
| GitLab 19.6.1 | linked-items read (GWP-S1) | OR 10 | OR 10 | sup 10 | sup 10 | none 10 | sup 10 | |
| system-note read (GWP-DISC-S1)† | OR 10 | OR 10 | OR 10 | OR 10 | none 10 | sup 10 | ||
| linked-items read (GWP-A1) | OR 10 | OR 10 | sup 10 | sup 10 | OR 10 | sup 10 | ||
| system-note read (GWP-DISC-A1)† | OR 10 | OR 10 | OR 10 | OR 10 | OR 10 | sup 10 | ||
| mention in note (GWR-UX) | OR 10 | OR 10 | OR 10 | OR 10 | none 10 | refused 10 | ||
| mention in note (GWR-UA, GWR-UA-NS) | OR 10 | OR 10 | OR 10 | OR 10 | OR 10 | refused 10 | ||
| pins and explicit link (5 cases) | – | deny 10 in every case and configuration | ||||||
| Control (experiment; where it acts) | Stopped | Remained | Benign cost |
|---|---|---|---|
| Deny the dependency methods (Gitea; request; derived) | dependency reads | mention writes (read-only change) | the read reporting whether #1 is blocked |
| Response filter, ours (E1; response) | structured read records | writes; GitLab system-note locator | empty list; agents deny dependencies (E6) |
| Placeholder filter, ours (E6; response) | structured read records | existence and count of withheld issues | none observed |
| Native guardrail, response phase (E12) | all 4 reads, incl. system-note locators | all 3 writes; rewrite keeps the count | reject: committed benign write reported failed (10 of 10) |
| Native guardrail, request phase (E12) | the 3 mention writes | all 4 reads | a benign note refused (10 of 10) |
| Server project controls (E11; 2 releases) | calls explicitly targeting another project (180 of 180) | all 42 projection cells | none observed |
| User’s own credential (E1, E9, E10; backend) | cross-user cases | agent-scope cases | none observed |
| Token for the granted repository (E5; backend) | direct reads of ’s other project | same-repository cases; a cross-reference into ’s other project; the other issue’s locator in a note on the granted issue | none observed |
| Project access token (E13; backend) | all 28 cross-project projection cells | another issue of the granted project (direct route); a hidden item’s count | none observed (benign 10 of 10) |
| Projection-aware screen, ours (GitLab; both) | every measured channel | a marker in free text | all 3 writes and a benign note refused |
Going deeper
Observation 1. A PDP that decides c deterministically from its input alone returns the same decision in s0 and s1 whenever that input is identical in both states. If, in addition, the backend’s credential can read the linked object and nothing filters the response, the PDP either permits the over-reach or refuses the benign call.
A receptionist lets a courier into one office only, after checking the name on the delivery slip. The courier asks the person in that office what is holding up their work. The answer comes back with a folder from the office next door, because the two are linked.
The receptionist checked the slip correctly; the slip was fine. What came out depended on what was linked inside, which the receptionist never sees. The paper shows this happening with AI agents and four kinds of office software, and also that a courier's note can leave a mark in another office.
Fixes help but each has a cost. Checking parcels on the way out catches the folder but not the mark left behind. Taking the folder out silently made the agents report that nothing was holding up the work. Leaving a slip saying 'one item withheld' kept the folder out and the answer honest.
The abstract, word for word, with the six densest phrases unpacked.
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 policy1. 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.2 We present OverReach, a method for measuring what a permitted call returns or changes: policy authors do not see the test cases3, 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 gateway4, 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 project5. A filter that deleted foreign records made two LLM agents deny existing dependencies6; behind a placeholder, this was not observed.
Two lines meet here: old ideas on who an access is made for, and new work on agent authorization.
Read four parts, in this order.
If the result is weaker than it looks, check these places first.
We report three disclosure levels: existence (a flag or a count shows that a related object exists), identity (its locator) and content (its own fields). For v/vault#1, a blank placeholder is existence, the locator is identity, and its seeded title and state are content. On the calendar, “Busy” (an event’s identifier and time) is the level u may see; its title, description or location is content. Both task-necessity judges held that a blocker’s identity is in scope for triage and its title, state, labels and body are not, so on Gitea we count a read as a violation only at content level. For GitLab, the plan registered content as the related item’s body, which GitLab’s summary views omit. We therefore report GitLab reads at identity level, although their records carry the title and state that count as content on Gitea (in E2b we count title or state, as on Gitea). Under one descriptive threshold for the issue trackers (title, state, body or a write), the locator-only channels, the community server’s system-note reads and the official server’s notes reads, would not count (Appendix C).
Outcomes under one threshold. The counted level differs by experiment (Table 7). Under one rule for all experiments (not registered; a descriptive re-reading of the existing verdicts), an outcome counts if it delivers an object’s title or state, or its body, or writes an event on that object. Under this rule, these claim-bearing channels still count: the Gitea dependency reads (title and state); the GitLab linked-item reads, whose records carry title and state although E1-GitLab counts them at identity level; and the writes on both backends, each an event on the target. The E2b merge-request read also counts where a policy allowed it. Two channels deliver only a locator and would not count: the GitLab system-note reads and the E2b and E5 notes reads.
Scope. We measured four backends with seeded synthetic users and the write verbs listed in the appendices. On GitLab, the community server’s write channel is create_issue_note only. The wiki and calendar results rest on few cases (the calendar on one witness pair), and the guardrail rules of E12 are ours, written to match foreign locators; we tested neither other patterns nor a combination of the two phases. Our K=10 sequential runs establish controlled repeatability, not how often over-reach occurs in deployments, and they say nothing about other gateways, backends or versions. Our plan registered two further ways a backend resolves objects, a name resolved to an object and a scalar expanded to a set; we had no counted probe for them and claim nothing about them. E13 tested project access tokens on the community GitLab server only. Outside E3 and E6, the test harness modeled an agent by issuing the calls.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all