CVE-2026-22729
March 16, 2026
A JSONPath injection vulnerability in Spring AI's AbstractFilterExpressionConverter allows authenticated users to bypass metadata-based access controls through crafted filter expressions. User-controlled input passed to FilterExpressionBuilder is concatenated into JSONPath queries without proper escaping, enabling attackers to inject arbitrary JSONPath logic and access unauthorized documents.
This vulnerability affects applications using vector stores that extend AbstractFilterExpressionConverter for multi-tenant isolation, role-based access control, or document filtering based on metadata.
The vulnerability occurs when user-supplied values in filter expressions are not escaped before being inserted into JSONPath queries. Special characters like ", ||, and && are passed through unescaped, allowing injection of arbitrary JSONPath logic that can alter the intended query semantics.
Affects: Spring AI 1.0.x before 1.0.4, 1.1.x before 1.1.3
Affected Packages
https://github.com/spring-projects/spring-ai.git (GITHUB):
Affected version(s) >=v1.0.0-M1 <v1.0.4Fix Suggestion:
Update to version v1.0.4https://github.com/spring-projects/spring-ai.git (GITHUB):
Affected version(s) >=v1.1.0-M1 <v1.1.3Fix Suggestion:
Update to version v1.1.3Related Resources (1)
Do you need more information?
Contact UsCVSS v3
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE