TL;DR: Common MCP clients can be driven into remote code execution, local file execution, or account takeover through unsafe authorization handling, insecure browser-launch flows, and unsanitized URL schemes across desktop and browser-based implementations, according to Obsidian Security. The finding matters because AI agent access now depends on client-side trust assumptions that traditional OAuth and app security controls were not built to enforce.
Editorial analysis by NHI Mgmt Group, based on content published by Obsidian Security: “From well-known to Well-Pwned: Common Vulnerabilities in AI Agents”.
Key questions
Q: What breaks when MCP clients trust remote authorization endpoints too much?
A: Client-side trust breaks because the application is no longer just rendering a login flow.
Q: Why do unsafe browser-launch flows create such high risk for AI agent clients?
A: Because the launch step can become an execution boundary.
Q: How do security teams know whether MCP authorization is actually working?
A: Look for evidence that consent is stored per client, tokens are validated at each hop, and invalid audience or redirect values are rejected consistently.
Practitioner guidance
- Restrict authorization URL schemes Allow only http and https in MCP client authorization flows, and reject any endpoint that resolves to file, smb, javascript, or other unsafe schemes.
- Replace unsafe browser-launch helpers Remove browser-open wrappers that pass untrusted input through shell commands, and use a secure launcher that encodes every non-URL-safe character before process invocation.
- Harden browser-based client handling Apply strict content security controls, block javascript-scheme redirects, and separate authorization UI from privileged backend channels in hybrid MCP clients.
Bottom line: MCP clients can convert routine authorization discovery into host compromise when they accept unsafe endpoint schemes or launch paths.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
MCP authorization is now a client-side identity control, not just a protocol detail. The article shows that the security decision is made where the client interprets remote metadata, opens a browser, and accepts a URL scheme. That shifts control responsibility from the server to the application runtime that initiates the flow. Practitioners should treat the client as part of the identity perimeter, because the authorization boundary is now enforced by code paths that were never designed as access policy engines.
A few things that frame the scale:
- Gartner predicts that more than 40% of agentic AI projects will be cancelled by the end of 2027, citing rising costs, unclear value and insufficient risk controls.
A question worth separating out:
Q: What should incident responders do when an MCP client authorization flow is abused?
A: Isolate the affected client, revoke any tokens issued through the compromised flow, and inspect whether local execution, browser session theft, or chained backend abuse occurred. The key is to contain both the identity artifact and the local execution path, because the compromise may span host and account layers.
👉 Read our full editorial: Client-side MCP authorization flaws expose AI agent attack paths