Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.ai/spring-ai-vector-store
  4. ›
  5. CVE-2026-22729

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

March 18, 2026

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.

References

  • github.com/advisories/GHSA-rp9g-qx29-88cp
  • github.com/spring-projects/spring-ai
  • github.com/spring-projects/spring-ai/releases/tag/v1.0.4
  • github.com/spring-projects/spring-ai/releases/tag/v1.1.3
  • nvd.nist.gov/vuln/detail/CVE-2026-22729
  • spring.io/security/cve-2026-22729

Code Behaviors & Features

Detect and mitigate CVE-2026-22729 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.4, all versions starting from 1.1.0-M1 before 1.1.3

Fixed versions

  • 1.1.3
  • 1.0.4

Solution

Upgrade to versions 1.0.4, 1.1.3 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

Source file

maven/org.springframework.ai/spring-ai-vector-store/CVE-2026-22729.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:18:44 +0000.