Skip to main content

Spring AI MCP Security EUVDEUVD-2026-33323

| CVE-2026-45609 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-18 https://github.com/spring-ai-community/mcp-security GHSA-qjp4-4jvr-xqg3
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker controls or registers malicious MCP Server
  2. Delivery
    Victim MCP client with DCR enabled initiates discovery
  3. Exploit
    Server returns metadata with internal URL
  4. Execution
    Client fetches attacker-chosen URL via RestClient
  5. Impact
    Internal 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

mcp-security < 0.1.9

Affected Packages

maven org.springaicommunity:mcp-client-security fix: 0.1.9
euvd mcp_security fix: 0.1.9

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

NVD PRIMARY 6.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Severity Changed
Jul 21, 2026 - 12:23 NVD
HIGH MEDIUM
CVSS changed
Jul 21, 2026 - 12:23 NVD
7.2 (HIGH) 6.5 (MEDIUM)

DescriptionNVD

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:

properties
spring.ai.mcp.client.authorization.dynamic-client-registration.enabled=true

DCR 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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy