Incorrect Authorization Affecting org.springframework.ai:spring-ai-model package, versions [1.0.0,2.0.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKAI-19233331
  • published23 Aug 2026
  • disclosed21 Aug 2026
  • creditArjun Basnet

Introduced: 21 Aug 2026

NewCVE-2026-59318  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade org.springframework.ai:spring-ai-model to version 2.0.1 or higher.

Overview

org.springframework.ai:spring-ai-model is a Core model interfaces and classes for Spring AI

Affected versions of this package are vulnerable to Incorrect Authorization through the DefaultToolCallingManager in spring-ai-model/src/main/java/org/springframework/ai/model/tool/DefaultToolCallingManager.java. An attacker can execute a tool that was not attached to the current request by having the model name that tool in a tool call. The manager resolves missing tool names through the application-wide ToolCallbackResolver, so it does not fully enforce request-scoped tool lists at dispatch time. In deployments that register sensitive tools as beans, this can let a model-triggered request invoke destructive or higher-privilege operations outside the tools the caller intended to expose.

Notes

  • Additional fixes are available for earlier versions under Enterprise Support (see the Spring Security Advisory for additional details)

CVSS Base Scores

version 4.0
version 3.1