Mcp Toolbox For Databases
An authenticated authorization bypass occurs due to missing scope enforcement in older protocol handlers. While the 2025-11-25 protocol version handler correctly enforces per-tool restrictions defined by `scopesRequired`, older supported versions (2025-06-18, 2025-03-26, and 2024-11-05) do not perform this check. An authenticated client with low-privilege tokens can bypass these restrictions and execute high-privilege tools by specifying an older protocol version in the `MCP-Protocol-Version` header or by omitting the header, which defaults the server to the 2024-11-05 handler.