High

JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter

  • Disclosed: 18.03.2026
  • Updated: 11.10.2026 12:22

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

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.springframework.ai:spring-ai-vector-store >= 1.1.0-M1, < 1.1.3, < 1.0.4 1.1.3, 1.0.4

References

CVSS score 8.6/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Weakness (CWE)
CWE-917
Platform
Java / Kotlin (Maven)
Package
org.springframework.ai:spring-ai-vector-store
Disclosed
18.03.2026
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-rp9g-qx29-88cp - CC BY 4.0

Vulnerability history: org.springframework.ai:spring-ai-vector-store

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
03.2026 04.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 2

Disclosures per year

  1. 2026: 3
  1. High · 8.6 CVE-2026-40967 >= 1.0.0, < 1.0.6, >= 1.1.0, < 1.1.5 1.0.6, 1.1.5
  2. Critical · 9.8 CVE-2026-22738 >= 1.0.0, < 1.0.5, >= 1.1.0-M1, < 1.1.4 1.0.5, 1.1.4
  3. JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter this entry
    High · 8.6 CVE-2026-22729 >= 1.1.0-M1, < 1.1.3, < 1.0.4 1.1.3, 1.0.4

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.