GHSA-rp9g-qx29-88cp

Suggest an improvement
Source
https://github.com/advisories/GHSA-rp9g-qx29-88cp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-rp9g-qx29-88cp/GHSA-rp9g-qx29-88cp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rp9g-qx29-88cp
Aliases
Published
2026-03-18T09:30:28Z
Modified
2026-03-18T20:41:20Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-917"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-18T20:20:26Z",
    "nvd_published_at":  "2026-03-18T08:16:31Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven / org.springframework.ai:spring-ai-vector-store

Package

Name
org.springframework.ai:spring-ai-vector-store
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.ai/spring-ai-vector-store

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.1.0-M1
Fixed
1.1.3

Affected versions

1.*
1.1.0-M1
1.1.0-M2
1.1.0-M3
1.1.0-M4
1.1.0-RC1
1.1.0
1.1.1
1.1.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-rp9g-qx29-88cp/GHSA-rp9g-qx29-88cp.json"

Maven / org.springframework.ai:spring-ai-vector-store

Package

Name
org.springframework.ai:spring-ai-vector-store
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.ai/spring-ai-vector-store

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.4

Affected versions

1.*
1.0.0-M7
1.0.0-M8
1.0.0-RC1
1.0.0
1.0.1
1.0.2
1.0.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-rp9g-qx29-88cp/GHSA-rp9g-qx29-88cp.json"