mcp-security provides Security and Authorization support for Model Context Protocol in Spring AI.
Date: 2026-05
Affected: springaicommunity/mcp_security
Attack vector: ssrf
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2026-45609
CWE: CWE-918
CVSS: 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)

mcp-security provides Security and Authorization support for Model Context Protocol in Spring AI. Prior to 0.1.9, the mcp-security framework fails to implement the mandatory SSRF mitigations outlined in the Model Context Protocol (MCP) security specifications. Specifically, it processes untrusted URLs for OAuth-related discovery and metadata without verifying if the targets are malicious or internal to the network. This only affects installations with Dynamic Client Registration (DCR) enabled This vulnerability is fixed in 0.1.9.


Mitigations:

Architectural layers (MAESTRO):