{"cve":"CVE-2026-22729","nvd":{"published":"2026-03-18T08:16:31.000","modified":"2026-06-17T10:20:18.563","status":"Analyzed","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.\n\nThis vulnerability affects applications using vector stores that extend AbstractFilterExpressionConverter for multi-tenant isolation, role-based access control, or document filtering based on metadata.\n\nThe 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6},"cwes":["CWE-917"],"references":["https://spring.io/security/cve-2026-22729"],"products":["vmware:spring_ai"],"source":"nvd","synced_at":"2026-10-19T22:26:19.218427112+00:00"},"epss":{"cve":"CVE-2026-22729","score":0.00541,"percentile":0.45548,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rp9g-qx29-88cp","url":"https://osv.dev/vulnerability/GHSA-rp9g-qx29-88cp","summary":"JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter","modified":"2026-03-18T20:41:20.366439Z","packages":[{"ecosystem":"Maven","name":"org.springframework.ai:spring-ai-vector-store","purl":"pkg:maven/org.springframework.ai/spring-ai-vector-store","ranges":[">=1.1.0-M1 <1.1.3"],"fixed":["1.1.3"]},{"ecosystem":"Maven","name":"org.springframework.ai:spring-ai-vector-store","purl":"pkg:maven/org.springframework.ai/spring-ai-vector-store","ranges":["<1.0.4"],"fixed":["1.0.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}