SQL Injection Affecting org.springframework.ai:spring-ai-mariadb-store package, versions [1.0.0-M5,1.0.4)[1.1.0-M1,1.1.3)[2.0.0-M1,2.0.0-M3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (4th 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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKAI-15679672
  • published18 Mar 2026
  • disclosed17 Mar 2026
  • creditBlackf0g Team

Introduced: 17 Mar 2026

NewCVE-2026-22730  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade org.springframework.ai:spring-ai-mariadb-store to version 1.0.4, 1.1.3, 2.0.0-M3 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection in the MariaDBFilterExpressionConverter, which allows attackers to bypass metadata-based access controls and execute SQL statements with malicious JSON_VALUE input.

CVSS Base Scores

version 4.0
version 3.1