Description
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.
Published: 2026-05-29
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability permits an attacker to instruct the mcp‑security component to retrieve content from arbitrary URLs supplied during OAuth discovery and metadata handling. Because no validation is performed, the component can resolve and fetch endpoints that are internal or potentially malicious, leading to exposure of confidential data, manipulation of internal services, or denial of service through resource exhaustion. The weakness is a classic Server‑Side Request Forgery, classified as CWE‑918.

Affected Systems

Spring AI Community’s mcp‑security product, versions prior to 0.1.9, is affected when Dynamic Client Registration is enabled. Only installations using older releases of mcp‑security and that have DCR active are vulnerable; other versions or configurations are not impacted.

Risk and Exploitability

With a CVSS score of 7.2, the vulnerability is considered high severity. The EPSS score is not reported, but the risk remains significant in environments where mcp‑security processes external URLs. The vulnerability is not listed in the CISA KEV catalog, yet it remains exploitable in any system that permits untrusted URLs when DCR is enabled. Attackers can exploit it by supplying a malicious or internal URL in a request that triggers the OAuth discovery flow, enabling them to reach protected network resources from the server side.

Generated by OpenCVE AI on May 29, 2026 at 15:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update mcp‑security to version 0.1.9 or later which implements SSRF mitigations
  • If DCR is not required, disable Dynamic Client Registration to eliminate the code path that processes untrusted URLs
  • Configure network controls to restrict outbound requests from the server to only approved endpoints

Generated by OpenCVE AI on May 29, 2026 at 15:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-qjp4-4jvr-xqg3 Spring AI MCP Security: Unvalidated URL Fetching (SSRF)
History

Fri, 29 May 2026 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Spring-ai-community
Spring-ai-community mcp-security
Vendors & Products Spring-ai-community
Spring-ai-community mcp-security

Fri, 29 May 2026 14:45:00 +0000

Type Values Removed Values Added
Description 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.
Title mcp-security: Unvalidated URL Fetching (SSRF)
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Spring-ai-community Mcp-security
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-29T13:48:06.703Z

Reserved: 2026-05-12T20:31:43.447Z

Link: CVE-2026-45609

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-29T15:16:23.463

Modified: 2026-05-29T15:16:23.463

Link: CVE-2026-45609

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-29T15:49:32Z

Weaknesses