Vulnerability in Spring Ai
CVE-2026-59319
RedisChatMemoryRepository.findByMetadata() builds RediSearch tag and text queries from caller-supplied metadata values without applying RediSearchUtil.escape(), unlike get(), clear(), and findByTimeRange() in the same class which do escape their inputs. An application that passes user-controlled values to findByMetadata() on a tag-typed metadata field allows an attacker to inject RediSearch syntax (e.g. x} | *) that breaks out of the tag clause and matches all indexed chat messages across every conversation in the index. Spring AI 2.0.0
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.003 (21.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 21st percentile — 21.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.003 · change: +0.001
Affected products
- Spring Ai — versions 2.0.0
- VMware Spring Ai
Weakness classification (CWE)
References
- spring.io/security/cve-2026-59319 (Vendor Advisory)
Frequently asked questions
- What is CVE-2026-59319?
- CVE-2026-59319 is a medium-severity vulnerability in Spring Ai, classified under Improper Neutralization of Special Elements in Data Query Logic. CVSS score: 4.3/10. Published 2026-08-27.
- How severe is CVE-2026-59319?
- Medium severity. CVSS v3 base score is 4.3 out of 10.