CVE-2026-22742: Spring AI: Insufficient Validation causes SSRF when processing multimodal messages with user-supplied URLs
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.
Published Mar 27, 2026 · Updated Mar 29, 2026
Affected packages
org.springframework.ai:spring-ai-bedrock-converse
- Ecosystem
- Maven
- Affected
- >= 1.0.0-M5, < 1.0.5
- Fixed in
- 1.0.5
- Check
mvn dependency:tree -Dincludes=org.springframework.ai:spring-ai-bedrock-converse
org.springframework.ai:spring-ai-bedrock-converse
- Ecosystem
- Maven
- Affected
- >= 1.1.0-M1, < 1.1.4
- Fixed in
- 1.1.4
- Check
mvn dependency:tree -Dincludes=org.springframework.ai:spring-ai-bedrock-converse
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-22742
- https://spring.io/security/cve-2026-22742
- https://github.com/spring-projects/spring-ai/commit/a7d3223bc11a010b93fbc40a17fa9b68c52a8118
- https://github.com/spring-projects/spring-ai/releases/tag/v1.0.5
- https://github.com/spring-projects/spring-ai/releases/tag/v1.1.4
- https://github.com/advisories/GHSA-mhrg-94vw-45c5
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
