Skip to content

CVE-2026-22729 CVE-2026-22729: JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter

HighCVSS 8.6 EPSS 0.59%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
org.springframework.ai/spring-ai-vector-store(Maven) < 1.0.4; = 1.0.0; = 1.0.0-M7; = 1.0.0-M8 +13 more 1.0.4, 1.1.3 Fixed
VMware Spring AI >= 1.0.0, < 1.0.4; >= 1.0.x, < 1.0.4; >= 1.1.0, < 1.1.3; >= 1.1.x, < 1.1.3 1.0.4, 1.1.3 Fixed

Affected products

ProductAffected versionsFixed in
org.springframework.ai/spring-ai-vector-store(Maven) >= 1.1.0-M1, < 1.1.3 1.1.3
org.springframework.ai/spring-ai-vector-store(Maven) = 1.1.0 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.1.0-M1 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.1.0-M2 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.1.0-M3 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.1.0-M4 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.1.0-RC1 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.1.1 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.1.2 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) < 1.0.4 1.0.4
org.springframework.ai/spring-ai-vector-store(Maven) = 1.0.0 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.0.0-M7 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.0.0-M8 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.0.0-RC1 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.0.1 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.0.2 No fix listed
org.springframework.ai/spring-ai-vector-store(Maven) = 1.0.3 No fix listed
VMware Spring AI >= 1.0.x, < 1.0.4 1.0.4
VMware Spring AI >= 1.1.x, < 1.1.3 1.1.3
VMware Spring AI >= 1.0.0, < 1.0.4 1.0.4
VMware Spring AI >= 1.1.0, < 1.1.3 1.1.3

References