{"cve":"CVE-2026-40967","nvd":{"published":"2026-04-28T07:16:03.360","modified":"2026-10-26T22:10:00.163","status":"Analyzed","description":"In Spring AI, various FilterExpressionConverter implementations accept a filter expression object and translate them to specific vector store query languages. In several cases, keys and values are not properly escaped, leading to the ability to alter the query.\n\nAffected versions:\nSpring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","score":8.6},"cwes":["CWE-94"],"references":["https://spring.io/security/cve-2026-40967"],"products":["vmware:spring_ai"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-40967","score":0.00394,"percentile":0.33298,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-qc4j-qjqx-vr58","url":"https://osv.dev/vulnerability/GHSA-qc4j-qjqx-vr58","summary":"Spring AI has a VectorStore FilterExpression Converter injection","modified":"2026-05-06T20:11:26.426003Z","packages":[{"ecosystem":"Maven","name":"org.springframework.ai:spring-ai-vector-store","purl":"pkg:maven/org.springframework.ai/spring-ai-vector-store","ranges":[">=1.0.0 <1.0.6"],"fixed":["1.0.6"]},{"ecosystem":"Maven","name":"org.springframework.ai:spring-ai-vector-store","purl":"pkg:maven/org.springframework.ai/spring-ai-vector-store","ranges":[">=1.1.0 <1.1.5"],"fixed":["1.1.5"]}]}],"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."]}