セキュリティ
MCPサーバーに、OAuthのクライアントシークレットでつないでいませんか。
FastMCPのOAuthクライアントに、資格情報を渡す認可サーバーを固定しない不具合がありました。
公式は、更新だけでは足りず、設定にissuerを明示する必要があると書いています。
今日はFastMCPを4.1.2以上に上げてissuerを明示し、渡した恐れのあるシークレットは作り直してください。
出典の原文(引用)
GHSA-vqqp-x5qm-5qp4 (published October 20, 2026, severity Moderate / CVSS 5.9): "FastMCP MCP client wrappers construct M2M OAuth providers without issuer binding — client secret redirectable to attacker-advertised authorization server". Affected: fastmcp, fastmcp-slim >= 4.0.0a1, < 4.1.2. Patched version: 4.1.2. "This report is accepted as a FastMCP credential-binding vulnerability. Affected versions of the OAuth client credentials providers do not expose the authorization-server issuer that owns pre-registered credentials. An untrusted or compromised MCP server can t..." Remediation: upgrade to 4.1.2 or later; configure the issuer parameter with the authorization server's issuer identifier (auth = ClientCredentialsOAuthProvider(client_id=..., client_secret=..., issuer="https://auth.example.com")); rotate credentials that may have been exposed to untrusted endpoints; upgrading alone is insufficient — the issuer parameter must be explicitly configured. / "Rotate client secrets or other reusable credentials that may already have been sent to an untrusted endpoint."— github.com
