CVE-2026-22729
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.springframework.ai:spring-ai-vector-storeMaven | >= 1.1.0-M1, < 1.1.3 | 1.1.3 |
org.springframework.ai:spring-ai-vector-storeMaven | < 1.0.4 | 1.0.4 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-rp9g-qx29-88cpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-22729ghsaADVISORY
- spring.io/security/cve-2026-22729nvdVendor AdvisoryWEB
- github.com/spring-projects/spring-ai/releases/tag/v1.0.4ghsaWEB
- github.com/spring-projects/spring-ai/releases/tag/v1.1.3ghsaWEB
News mentions
0No linked articles in our index yet.