LOW

CVE-2026-59336

Incomplete SSRF blocklist in spring-ai-bedrock-converse URLValidator

Description

Applications using spring-ai-bedrock-converse to build multi-modal chat requests for Amazon Bedrock are vulnerable to a Server-Side Request Forgery (SSRF) attack via media URLs. This is due to an incomplete blocklist in URLValidator.isBlockedAddress(InetAddress), the shared predicate used by every SSRF defense layer in the media-fetching path. The predicate relies only on the JDK's loopback, link-local, site-local, and any-local checks and does not recognize several non-globally-reachable address ranges, allowing a specially crafted media URL to reach internal network destinations that should be blocked.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.ai » spring-ai-bedrock-converse
>= 1.0.0, <= 1.0.10>= 1.1.0, <= 1.1.9>= 2.0.0, < 2.0.3
2.0.3

Blast radius

1affected artifacts
22affected versions
21dependent artifacts (est.)
1,021dependent versions

66% of the dependent artifacts (14) still pull an affected version in their latest release.

DepthDependent versions
Direct
286
2 hops
671
3 hops
59
4 hops
5

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.