CVE-2026-59319: RedisChatMemoryRepository.findByMetadata() builds RediSearch tag and text queries from caller-supplied metadat
CVE-2026-59319 is a medium-severity flaw (CVSS 4.3) affecting spring ai. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 a
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 77%) |
| CISA exploited list | No |
| Weakness | CWE-943 |
| Published | 2026-08-27 |
| Last modified | 2026-08-31 |
Last updated 2026-08-31 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-59319?
spring ai: upgrade to 2.0.1. Exact commands for each OS are on this page.
Is CVE-2026-59319 being exploited?
CVE-2026-59319 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-59319 affect?
CVE-2026-59319 affects spring ai. Severity is medium (CVSS 4.3). 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
How urgent is CVE-2026-59319?
Priority 21/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-40967 HIGH 8.6 UPGRADE In Spring AI, various FilterExpressionConverter implementations accept a filter expression object and translat
- CVE-2026-40978 HIGH 8.8 UPGRADE SQL injection vulnerability in Spring AI's `CosmosDBVectorStore` allows attackers to execute arbitrary SQL que
- CVE-2026-22743 HIGH 7.5 UPGRADE Spring AI's spring-ai-neo4j-store contains a Cypher injection vulnerability in Neo4jVectorFilterExpressionConv
- CVE-2026-22738 CRITICAL 9.8 UPGRADE In Spring AI, a SpEL injection vulnerability exists in SimpleVectorStore when a user-supplied value is used as
- CVE-2026-22742 HIGH 8.6 UPGRADE Spring AI's spring-ai-bedrock-converse contains a Server-Side Request Forgery (SSRF) vulnerability in BedrockP