Intel

AIKIDO-2026-397102

spring-ai-model is vulnerable to Incorrect Authorization

Incorrect AuthorizationCVE-2026-59318 Published Aug 22, 2026

65

Medium Risk

This Affects:

JAVAspring-ai-model
1.0.0 - 2.0.0
Fixed in 2.0.1
Are you affected? Scan for Free

TL;DR

spring-ai-model DefaultToolCallingManager advertises a per-request tool list but can dispatch a tool that was not offered on that request. Prompt-injected tool names may therefore run with higher privilege than the request allowed. That is a tool-calling authorization bypass. The patch dispatches only tools advertised on the current request.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and DefaultToolCallingManager can fall back to a global tool resolver.

Background info

spring-ai-model is vulnerable to Incorrect Authorization in versions 1.0.0 - 2.0.0.

How to fix this

Upgrade the org.springframework.ai:spring-ai-model library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform