Spring AI: Insufficient Validation causes SSRF when processing multimodal messages with user-supplied URLsGHSA-mhrg-94vw-45c5
HIGHFix: spring-projects/spring-ai@a7d3223GHSA-mhrg-94vw-45c5 is a high-severity (CVSS 8.6) Server-Side Request Forgery (SSRF) vulnerability in org.springframework.ai:spring-ai-bedrock-converse. A fix is available for org.springframework.ai:spring-ai-bedrock-converse — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-mhrg-94vw-45c5.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.springframework.ai:spring-ai-bedrock-converse☕org.springframework.ai:spring-ai-bedrock-converseReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Spring AI's spring-ai-bedrock-converse contains a Server-Side Request Forgery (SSRF) vulnerability in BedrockProxyChatModel when processing multimodal messages that include user-supplied media URLs. Insufficient validation of those URLs allows an attacker to induce the server to issue HTTP requests to unintended internal or external destinations.
This issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework.ai:spring-ai-bedrock-converse | ≥ 1.0.0-M5&&< 1.0.5 | 1.0.5org.springframework.ai:spring-ai-bedrock-converse:1.0.5 |
| ☕Maven | org.springframework.ai:spring-ai-bedrock-converse | ≥ 1.1.0-M1&&< 1.1.4 | 1.1.4org.springframework.ai:spring-ai-bedrock-converse:1.1.4 |
Affected Products
spring aivmwareDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework.ai:spring-ai-bedrock-converse, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.springframework.ai:spring-ai-bedrock-converse to 1.0.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-mhrg-94vw-45c5 is resolved across your whole dependency graph.
Workarounds
Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.
Frequently Asked Questions
Is GHSA-mhrg-94vw-45c5 in your dependencies?
Find it across Maven, including transitive dependencies.