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

Summary

18/03/2026
Yes i
High
8.6

CVE-2026-22729: JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter. Affects org.springframework.ai:spring-ai-vector-store across 2 version ranges.

< 1.0.4 >= 1.1.0-M1, < 1.1.3

Fixed in 1.0.4 or 1.1.3, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Spring AI Vector Store package is designed to facilitate the management and retrieval of vectorized data in AI applications. It provides functionalities such as multi-tenant isolation, role-based access control, and document filtering based on metadata. However, a critical vulnerability has been identified in its AbstractFilterExpressionConverter, which can lead to unauthorized access to sensitive documents.

Vulnerability Detail

A JSONPath injection vulnerability exists in Spring AI's AbstractFilterExpressionConverter, allowing authenticated users to bypass metadata-based access controls through crafted filter expressions. User-controlled input is concatenated into JSONPath queries without proper escaping, enabling attackers to inject arbitrary JSONPath logic. This can lead to unauthorized access to documents, compromising the integrity and confidentiality of the data.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.0.4 1.0.4
  • >= 1.1.0-M1, < 1.1.3 1.1.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, ensure that user-supplied values in filter expressions are properly escaped before being inserted into JSONPath queries. This can be done by implementing a validation mechanism that sanitizes input to prevent the injection of special characters.

Conclusion

The JSONPath injection vulnerability in Spring AI Vector Stores poses a significant risk to applications relying on this package for access control and document filtering. It is crucial to update to the latest patched versions and implement proper input validation to mitigate potential risks.

See every vulnerability recorded for org.springframework.ai:spring-ai-vector-store →

Share this vulnerability

FAQ

JSONPath injection is a type of attack where an attacker manipulates JSONPath queries to gain unauthorized access to data or alter query behavior.

Applications using the Spring AI Vector Store that extend AbstractFilterExpressionConverter for access control and document filtering are affected.

Attackers could gain unauthorized access to sensitive documents, leading to data breaches and loss of confidentiality.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application against this vulnerability using the Vulert playground at Vulert Scanner.

The CVSS score of this vulnerability is 8.6, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for org.springframework.ai:spring-ai-vector-store.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.0.4 1.0.4
  • >= 1.1.0-M1, < 1.1.3 1.1.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback