CVE-2026-22729

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

High · published March 18, 2026

CVSS v3.1
8.6
EPSS
1%
Percentile
44.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00541 · 44.7th percentile
Published
2026-03-18T07:39Z
EPSS history
Timeline
  • 18 MAR 07:39Z
    CVE-2026-22729: JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter
    cvelistv5