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

Published Mar 18, 2026
·
Updated

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 Software

5 affected componentsFixes available
Spring AI
maven/org.springframework.ai:spring-ai-vector-store<1.0.4
1.0.4
maven/org.springframework.ai:spring-ai-vector-store>=1.1.0-M1<1.1.3
1.1.3
VMware Spring Ai>=1.0.0<1.0.4
VMware Spring Ai>=1.1.0<1.1.3

Event History

Mar 18, 2026
CVE Published
via MITRE·07:39 AM
Data Sourced
via MITRE·07:39 AM
DescriptionSeverity
Data Sourced
via NVD·08:16 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 AM
Affected Software
Advisory Published
via GitHub·09:30 AM
Data Sourced
via GitHub·09:30 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-22729?

CVE-2026-22729 is considered to have a medium severity level due to its potential to bypass metadata-based access controls.

2

How do I fix CVE-2026-22729?

To fix CVE-2026-22729, update to the latest version of Spring AI that addresses this JSONPath injection vulnerability.

3

Who is affected by CVE-2026-22729?

CVE-2026-22729 affects authenticated users of Spring AI who utilize the AbstractFilterExpressionConverter.

4

What type of vulnerability is CVE-2026-22729?

CVE-2026-22729 is a JSONPath injection vulnerability allowing users to manipulate filter expressions.

5

What are the risks associated with CVE-2026-22729?

The risks of CVE-2026-22729 include unauthorized access to sensitive data due to bypassed access controls.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203