GitHub Advisoryadvisory · Maven
GHSA-rp9g-qx29-88cp JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter
HIGH
Official page ↗
- Aliases
- CVE-2026-22729
- Ecosystem
- Maven
- Packages
- org.springframework.ai:spring-ai-vector-store
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- Weaknesses
- CWE-917
- Reviewed
- 2026-03-18
Affected packages
• Maven org.springframework.ai:spring-ai-vector-store: >= 1.1.0-M1, < 1.1.3 → fixed in 1.1.3
• Maven org.springframework.ai:spring-ai-vector-store: < 1.0.4 → fixed in 1.0.4
Description
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.
Related
Alias · CVE (1)
- CVE-2026-22729 A JSONPath injection vulnerability in Spring AI's AbstractFilterExpressionConverter allows authenticated users to bypass metadata-based… vulnerability
Weakness · CWE (1)
- CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement weakness