CVE-2026-59318
DefaultToolCallingManager Global Resolver Fallback Allows Unadvertised Tool Dispatch via Prompt Injection
Description
In Spring AI's tool calling support, the per-request tool list is advertised to the model as a boundary but is not fully enforced when a tool call is dispatched. Under certain conditions, a tool that was not made available to the current request could be invoked, potentially leading to privilege escalation. Affected versions: Spring AI: 2.0.0 Spring AI: 1.1.0 through 1.1.8 Spring AI: 1.0.0 through 1.0.9
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ai » spring-ai-model | >= 1.0.0, <= 1.0.9>= 1.1.0, <= 1.1.8= 2.0.0 | - |
Blast radius
53% of the dependent artifacts (672) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,008 |
| 2 hops | 6,300 |
| 3 hops | 4,406 |
| 4 hops | 1,125 |
| 5 hops | 312 |
| 6 hops | 135 |
Most used dependents
- org.springframework.ai » spring-ai-client-chat283 usages
- org.springframework.ai » spring-ai-openai119 usages
- org.springframework.ai » spring-ai-vector-store119 usages
- org.springframework.ai » spring-ai-starter-model-openai86 usages
- org.springframework.ai » spring-ai-mcp74 usages
- org.springframework.ai » spring-ai-starter-mcp-server-webmvc74 usages
- com.embabel.agent » embabel-agent-api67 usages
- com.alibaba.cloud.ai » spring-ai-alibaba-core63 usages
- io.github.loom-ai-labs » ai-fabric-core57 usages
- org.springframework.ai » spring-ai-starter-mcp-server54 usages
- org.springframework.ai » spring-ai-starter-model-anthropic51 usages
- org.springframework.ai » spring-ai-autoconfigure-model-tool51 usages
- com.alibaba.cloud.ai » spring-ai-alibaba-dashscope50 usages
- org.springframework.ai » spring-ai-transformers47 usages
- org.springframework.ai » spring-ai-autoconfigure-model-chat-memory44 usages
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.
References
| Advisory | CVE record CVE-2026-59318 | github.com |
| Advisory | NVD CVE-2026-59318 | nvd.nist.gov |
| Web | security/cve-2026-59318 | spring.io |
