Missing Per-User Authorization on an MCP Tool (Broken Object Level Authorization)
Illustrative example. ACME Financial is an invented company and every detail below is made up. The layout is the one our reports use.
Impact
Using this flaw, Strafe read a second customer’s statement through the MCP server with the first customer’s token. The statement held the account holder’s name, account and routing numbers, balance and recent transactions. The server authenticated the connection but never checked ownership of the account in the call, so the exposure extends to every customer and requires only a valid connection to the server.
Within an attack chain, this is collection at scale from a single connected account, performed through the bank’s own published interface and its normal access. Any AI assistant connected to the server, and anyone able to drive one, could retrieve the data. Strafe assesses the likelihood as high and the impact as critical.
Technical details
ACME Financial published an MCP server so customers’ AI assistants could fetch balances and statements. Strafe connected with the bearer token of one test customer, Customer B, and called get_statement for Customer B’s own account, 100482, which returned that account’s statement.

Strafe then changed the account number in the call to 100481, which belongs to a separate test customer, Customer A, keeping Customer B’s token. The server returned Customer A’s statement.

Account numbers are issued in sequence, so the tool could be called across the full range. Testing was limited to the two test accounts.
Remediation
- In the get_statement tool, resolve the account against the accounts held by the authenticated customer, on the server. Return an authorization error for any other account.
- Apply the same ownership check in every tool that accepts an account, statement or transfer identifier, from a single shared function.
- Treat the bearer token as proof of connection only, never as proof of entitlement to a specific record.
- Log each refused call with the token’s customer and the account requested, and alert when one customer requests many accounts it does not hold.
## C1 - Missing per-user authorization on the get_statement MCP tool **Where:** MCP server, tools/call get_statement (and every tool taking an account identifier) **Severity:** Critical (CVSS 8.1) · Likelihood High · Impact Critical ### What "fixed" means - A get_statement call for an account the connected customer does not hold returns a JSON-RPC error, not a statement. - The check runs in the tool, on the server, against the token's customer. ### What does not count - Validating that accountId is an integer or well formed. - Hiding or lengthening account numbers. ### Where else this pattern may exist Every tool the server exposes that accepts a record identifier: statements, transfers, documents, payees. Confirm each resolves the identifier against the connected customer.
After the fix
After the ownership check was added, Strafe repeated the call for account 100481 with Customer B’s token. The server returned a JSON-RPC authorization error instead of a statement, and Customer B’s own account still returned normally.

References
- OWASP API Security Top 10, API1:2023 Broken Object Level Authorization
- CWE-862: Missing Authorization
- Model Context Protocol, authorization guidance