Independent researcher tests fix for MCP SDK OAuth vulnerability: credentials are still sent to a malicious authorization server when no issuer is passed
独立研究者报告MCP OAuth升级后的配置风险
Independent researcher 01rabbit verified through hands-on testing that the OAuth credential vulnerability in the official MCP SDKs (Python GHSA-qx49-fqc8-xw99, TypeScript GHSA-6qxp-vccf-f47h, both CVSS 7.5) cannot be closed by upgrading alone: the destination to which client credentials are sent is specified by the MCP server via metadata, and in local reproductions the fixed versions 1.30.0 and 2.3.0 still sent the client secret to a malicious authorization server when issuer= was not passed, while passing issuer= caused the process to abort at the metadata retrieval stage. The author also found that the deprecation warning in 1.30.0 is not shown by default when a provider is created inside an application module, making residual risk hard to notice after upgrading.
The author's hands-on test shows that when the fixed version of the MCP SDK does not pass issuer, credentials are still sent to a malicious authorization server, and the author has open-sourced a companion inspection script and troubleshooting checklist.