Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker controls or registers malicious MCP Server
-
DeliveryVictim MCP client with DCR enabled initiates discovery
-
ExploitServer returns metadata with internal URL
-
ExecutionClient fetches attacker-chosen URL via RestClient
-
ImpactInternal service response leaked or action triggered
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the deployment has Dynamic Client Registration explicitly enabled via the property spring.ai.mcp.client.authorization.dynamic-client-registration.enabled=true (off by default), AND that the MCP client can be induced to perform OAuth2 discovery/registration against an MCP Server or Authorization Server whose metadata URLs are controlled or influenced by the attacker. Because the vulnerable code path is the discovery/registration of attacker-supplied URLs, the attacker must control either an MCP Server the client connects to, or one of the URLs it advertises (protected resource metadata URL, authorization server URL, or any OAuth2 endpoint). No authentication on the MCP client side is required (CVSS PR:N) and no user interaction is needed (UI:N) once the malicious server is in the client's configured server set, but the attack is constrained to environments using the affected mcp-client-security versions with DCR turned on; default installations without DCR enabled are not exploitable. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N yields 7.2 (High) and correctly captures the key risk signals: remote, low-complexity, unauthenticated exploitation with scope change (the request crosses a trust boundary from the MCP client into internal networks) and limited confidentiality/integrity impact. EPSS data was not provided and the CVE is not on the CISA KEV list, so there is no public evidence of active exploitation; the scenario is dual-use intelligence (SSRF in an emerging AI-tooling ecosystem) rather than mass-exploited internet-facing risk. The real-world exposure is narrower than the 7.2 suggests because the vulnerability only triggers when Dynamic Client Registration is explicitly enabled (spring.ai.mcp.client.authorization.dynamic-client-registration.enabled=true) and the client is induced to connect to an attacker-controlled MCP server. Treat this as a priority fix for any deployment running mcp-client-security with DCR turned on, especially in environments where MCP Servers can be configured by less-trusted users or where the client host can reach sensitive internal endpoints (cloud IMDS, internal admin panels). |
| Exploit ScenarioDerived | An attacker stands up a malicious MCP Server (or compromises one a victim is configured to connect to) and advertises a protected-resource-metadata document whose authorization_server or token endpoint URL points at an internal target such as http://169.254.169.254/latest/meta-data/iam/security-credentials/ or an intranet admin interface. When the Spring AI MCP client with DCR enabled performs discovery and registration, it issues server-originated HTTP requests to those attacker-chosen URLs, exposing internal HTTP responses or triggering state-changing internal endpoints. No public exploit code has been identified at time of analysis, but the attack pattern is well-understood SSRF and trivial to construct from the advisory details. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 18, 2026
Server-Side Request Forgery in the Spring AI Community mcp-security framework (org.springaicommunity:mcp-client-security versions before 0.1.9) allows remote attackers to coerce the MCP client into issuing HTTP requests to attacker-chosen URLs, including internal network targets. The flaw resides in the OAuth2 Dynamic Client Registration (DCR) flow, which fetches metadata and authorization-server URLs without validating them against SSRF protections required by the MCP security specification. No public exploit identified at time of analysis, but a vendor-confirmed patch is available in version 0.1.9.
RemediationAI
Vendor-released patch: 0.1.9 - upgrade org.springaicommunity:mcp-client-security to 0.1.9 or later, which adds a UrlValidator that enforces HTTPS and rejects loopback addresses by default for all DCR-related URLs (see https://github.com/spring-ai-community/mcp-security/pull/68 and commit e6b67d8a67cd7acbee6e4c0741c385d62e3ed576). If immediate upgrade is not possible, the vendor-documented workarounds are to disable Dynamic Client Registration by setting spring.ai.mcp.client.authorization.dynamic-client-registration.enabled=false (this removes the ability to auto-register clients and will require a single statically configured ClientRegistration or a custom OAuth2HttpClientTransportCustomizer bean), or to supply a custom McpOAuth2ClientManager bean - and custom subclasses of McpMetadataDiscoveryService and DynamicClientRegistrationService if they are used directly - backed by a RestClient with a ClientHttpRequestInterceptor that performs egress filtering against an allowlist of permitted hosts. At the network layer, restrict outbound traffic from the MCP client process to known authorization-server hosts only, denying access to RFC1918 ranges, link-local 169.254.169.254 (cloud IMDS), and loopback to blunt SSRF impact even if the application-layer fix is delayed. Full advisory: https://github.com/spring-ai-community/mcp-security/security/advisories/GHSA-qjp4-4jvr-xqg3.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is org.springaicommunity:mcp-client-security, a Spring AI Community library that implements OAuth2 client functionality for the Model Context Protocol (MCP). MCP defines a Dynamic Client Registration flow where the client retrieves protected-resource-metadata URLs from MCP Servers and OAuth2 endpoint URLs (token, authorization, registration) from Authorization Servers. The vulnerable McpMetadataDiscoveryService and DynamicClientRegistrationService classes consume those URLs and dispatch HTTP requests via a Spring RestClient without applying the SSRF mitigations the MCP specification mandates (mitigation-3). This is a textbook CWE-918 Server-Side Request Forgery: untrusted input from an external party becomes the destination of a server-originated request, which an attacker can redirect to internal services (cloud metadata endpoints, intranet hosts, loopback admin interfaces). The fix introduces a new UrlValidator interface with a DefaultUrlValidator that enforces HTTPS, blocks loopback addresses by default, and adds a configuration property spring.ai.mcp.client.authorization.dynamic-client-registration.allow-loopback-addresses for development overrides.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
Summary
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:
spring.ai.mcp.client.authorization.dynamic-client-registration.enabled=trueDCR does not validate URLs exposed by MCP Servers (protected resource metadata URL, authorization server URL) and Authorization Servers (all OAuth2 endpoints).
Workaround
When users need to perform DCR, they may provide their own McpOAuth2ClientManager. Both McpMetadataDiscoveryService and DynamicClientRegistrationService are also affected, if used, users should provide their own subclasses.
Alternatively, users can provide the default implementations of these classes with a RestClient that implements URL filtering through ClientHttpRequestInterceptor.
Blast Radius
ecosystem impact- 1 maven packages depend on org.springaicommunity:mcp-client-security (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 0.1.9.
Executive ViewAI
Spring AI Community's mcp-security framework contains a network-layer vulnerability in versions before 0.1.9 that could allow attackers to manipulate clients into accessing unauthorized internal resources; no public exploit identified at time of analysis. This creates a potential pathway for internal reconnaissance and lateral movement within organizational networks. A vendor patch is immediately available and should be deployed as a high priority.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-33323
GHSA-qjp4-4jvr-xqg3
NVD
CVE.org
EPSS
VulDB
Exploit-DB