SQL Injection in Spring AI MariaDBFilterExpressionConverter
Date: 2026-03
Affected: maven/org.springframework.ai:spring-ai-mariadb-store, maven/org.springframework.ai:spring-ai-mariadb-store
Attack vector: sql-injection
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2026-22729
CVE-2026-22730
CWE: CWE-89
CWE-917
CVSS: 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)

A critical SQL injection vulnerability in Spring AI's MariaDBFilterExpressionConverter allows attackers to bypass metadata-based access controls and execute arbitrary SQL commands. The vulnerability exists due to missing input sanitization.


Mitigations:

Architectural layers (MAESTRO):