CVE-2026-59415
TypesenseVectorStore doDelete filter injection via document ID allows unintended document deletion
Mitigation
- Upgrade Spring AI to 2.0.2.1 or later.
Who should check
- Anyone running Spring AI >= 2.0.0, < 2.0.3; >= 1.1.0, < 1.1.10; >= 1.0.0, < 1.0.11; >= 2.0.0, < 2.0.2.1
Vulnerability facts
- Affected
- Spring AI >= 2.0.0, < 2.0.3; >= 1.1.0, < 1.1.10; >= 1.0.0, < 1.0.11; >= 2.0.0, < 2.0.2.1
- Fixed in
- Spring AI 2.0.3, Spring AI 1.1.10, Spring AI 1.0.11, Spring AI 2.0.2.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 10.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.01% chance of exploitation in 30 days (percentile 62, 2026-11-28)
- CWE
- CWE-74
- Modified
Description
TypesenseVectorStore is vulnerable to a document ID injection in its delete operation that can cause unintended documents to be deleted. TypesenseVectorStore.doDelete(List<String>) builds a Typesense filter_by expression by raw string concatenation of caller-supplied document IDs into the form id: [id1,id2,...] . The Typesense id field uses bare (unquoted) values in this list form with no escaping mechanism. An ID containing characters with syntactic meaning in the Typesense filter grammar — such as a comma ( , ), a closing bracket ( ] ), or operator tokens ( || , && ) — can break out of the list literal and alter the structure of the filter expression. An attacker who controls a document ID passed to the delete operation can use this to delete documents other than the intended ones (comma injection), or to construct a filter that matches every document in the collection (operator breakout), resulting in unintended bulk deletion. Applications that pass externally supplied or user-controlled document IDs to VectorStore.delete(List<String>) backed by TypesenseVectorStore are affected.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Spring AI | >= 2.0.0, < 2.0.3; >= 1.1.0, < 1.1.10; >= 1.0.0, < 1.0.11; >= 2.0.0, < 2.0.2.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-59415. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-59415.md Affected: Spring AI >= 2.0.0, < 2.0.3; >= 1.1.0, < 1.1.10; >= 1.0.0, < 1.0.11; >= 2.0.0, < 2.0.2.1 Fixed in: Spring AI 2.0.3, Spring AI 1.1.10, Spring AI 1.0.11, Spring AI 2.0.2.1 Steps: 1. Search this machine and project for Spring AI: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-59415 being exploited?
There is no confirmed exploitation: CVE-2026-59415 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.01% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-59415?
Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-59415?
Spring AI >= 2.0.0, < 2.0.3; >= 1.1.0, < 1.1.10; >= 1.0.0, < 1.0.11; >= 2.0.0, < 2.0.2.1.
Is there a fix for CVE-2026-59415?
Yes. Fixed in Spring AI 2.0.3, Spring AI 1.1.10, Spring AI 1.0.11, Spring AI 2.0.2.1. Upgrade Spring AI to 2.0.2.1 or later.
How do I check if I'm affected by CVE-2026-59415?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More spring vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-59340 Denial of Service via crafted PDF in PagePdfDocumentReader | Spring | EPSS 27% | |
| HIGH 7.5 | CVE-2026-59442 Broken Logical Grouping Expression in TypesenseFilterExpressionConverter | Spring | EPSS 36% | |
| HIGH 8.8 | CVE-2026-123886 Spring Data Elasticsearch SpEL Expression Injection through String-based Query Method Arguments | Spring | EPSS 53% |