CVE-2026-22729

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

Published Mar 18, 2026 CVSS 3.1 · 8.6 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A high‑severity JSONPath injection flaw in VMware Spring AI’s AbstractFilterExpressionConverter lets authenticated users insert arbitrary JSONPath logic into filter expressions. Because user‑controlled values are concatenated into the query string without proper escaping, an attacker can alter the intended query semantics and bypass metadata‑based access controls, thereby retrieving documents they should not be able to view. The vulnerability is a classic example of CWE‑917: Improper Handling of Encoded Data.

Affected Systems

Any application that implements the Spring AI vector store and extends the AbstractFilterExpressionConverter is susceptible. This includes multi‑tenant deployments, role‑based access control rules, and any custom document filtering that relies on metadata. No specific version numbers are provided in the advisory, so all current releases prior to a vendor patch are potentially impacted.

Risk and Exploitability

The CVSS score of 8.6 indicates that the flaw can have a serious impact on confidentiality, integrity, and availability. The EPSS score of less than 1% suggests that exploitation is currently unlikely, and the vulnerability is not listed in CISA’s KEV catalog. However, because it requires the attacker to have authenticated access that includes permission to craft filter expressions, the attack vector is essentially in‑application. If an attacker obtains such access, the risk escalates to full unauthorized data disclosure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Consult VMware Spring AI’s security advisories and apply any available patch or update that fixes JSONPath escaping.
  • If an update is not yet available, review the filter expression handling code to escape or validate user input before concatenation.
  • Disable or restrict advanced filter features that allow arbitrary JSONPath expressions until a fix is deployed.
  • Monitor authentication and filter‑expression activity for signs of abuse.
  • Implement a least‑privilege model so that only trusted users can construct complex filter expressions.

Generated by OpenCVE AI on April 2, 2026 at 03:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rp9g-qx29-88cp JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter
References
History
Type Values Removed Values Added
First Time appeared Vmware spring Ai
CPEs cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*
Vendors & Products Vmware spring Ai
Type Values Removed Values Added
Weaknesses CWE-917
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Vmware
Vmware spring
Vendors & Products Vmware
Vmware spring
Type Values Removed Values Added
Description 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.
Title CVE-2026-22729: JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

Weaknesses
  • CWE-917

    Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Mar 18, 2026, 3:35 PM
Reserved
Jan 9, 2026, 6:54 AM
Status
Analyzed
Published
Mar 18, 2026, 8:16 AM
Modified
Jun 17, 2026, 10:20 AM