{"id":"GHSA-fvh3-672c-7p6c","summary":"Spring AI: SpEL injection is triggered when a user-supplied value is used as a filter expression key","details":"In Spring AI, a SpEL injection vulnerability exists in SimpleVectorStore when a user-supplied value is used as a filter expression key. A malicious actor could exploit this to execute arbitrary code. Only applications that use SimpleVectorStore and pass user-supplied input as a filter expression key are affected.\n\nThis issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.","aliases":["CVE-2026-22738"],"modified":"2026-05-13T14:01:28.526425Z","published":"2026-03-27T06:31:42Z","database_specific":{"github_reviewed_at":"2026-03-29T15:31:52Z","nvd_published_at":"2026-03-27T06:16:37Z","cwe_ids":["CWE-88","CWE-917","CWE-94"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22738"},{"type":"WEB","url":"https://github.com/spring-projects/spring-ai/commit/ba9220b22383e430d5f801ce8e4fa01cf9e75f29"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-ai"},{"type":"WEB","url":"https://github.com/spring-projects/spring-ai/releases/tag/v1.0.5"},{"type":"WEB","url":"https://github.com/spring-projects/spring-ai/releases/tag/v1.1.4"},{"type":"WEB","url":"https://spring.io/security/cve-2026-22738"}],"affected":[{"package":{"name":"org.springframework.ai:spring-ai-vector-store","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ai/spring-ai-vector-store"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.0.5"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-fvh3-672c-7p6c/GHSA-fvh3-672c-7p6c.json"}},{"package":{"name":"org.springframework.ai:spring-ai-vector-store","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ai/spring-ai-vector-store"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1.0-M1"},{"fixed":"1.1.4"}]}],"versions":["1.1.0","1.1.0-M1","1.1.0-M2","1.1.0-M3","1.1.0-M4","1.1.0-RC1","1.1.1","1.1.2","1.1.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-fvh3-672c-7p6c/GHSA-fvh3-672c-7p6c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}