Prompt Injection Affecting org.springframework.ai:spring-ai-model package, versions [,1.0.7)[1.1.0-M1, 1.1.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (10th 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-16624613
  • published10 May 2026
  • disclosed8 May 2026
  • creditAhmed Sekka

Introduced: 8 May 2026

NewCVE-2026-41713  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade org.springframework.ai:spring-ai-model to version 1.0.7, 1.1.6 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 Prompt Injection via conversation memory handling in the affected advisor. An attacker can inject crafted input in conversation memory that is later interpreted by the model as trusted context, allowing manipulation of model behavior across conversations.

CVSS Base Scores

version 4.0
version 3.1