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.
References
| Link | Resource |
|---|---|
| https://spring.io/security/cve-2026-22729 |
Configurations
No configuration.
History
No history.
Information
Published : 2026-03-18 08:16
Updated : 2026-03-18 16:16
NVD link : CVE-2026-22729
Mitre link : CVE-2026-22729
CVE.ORG link : CVE-2026-22729
JSON object : View
Products Affected
No product.
CWE
CWE-917
Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
