CVE-2026-59339 — Spring AI
One of 10 Spring AI vulnerabilities published together by NVD: our article covers all of them.
AIVulnerabilitiesSummary
FilterExpressionTextParser, the vector store filter expression parser, is vulnerable to a denial of service when parsing untrusted filter expressions. The parser is a recursive-descent ANTLR4 parser with no limit on nesting depth, and parse() only catches ParseCancellationException . A filter expression containing deeply nested parentheses drives the parser into unbounded recursion, exhausting the calling thread's stack and terminating it with an uncaught StackOverflowError . Applications that accept filter expressions from untrusted input, such as runtime filter expressions supplied via QuestionAnswerAdvisor.FILTER_EXPRESSION or SearchRequest.withFilterExpression() in retrieval-augmented generation pipelines, are impacted. Repeated submissions against a bounded worker pool can degrade or deny service to all users, even though any single crash is thread-local rather than JVM-wide.
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Spring AI | ≥ 2.0.0, < 2.0.2.1 | 2.0.2.1 |
| ≥ 1.1.0, < 1.1.10 | 1.1.10 | |
| ≥ 1.0.0, < 1.0.11 | 1.0.11 | |
| ≥ 2.0.0, < 2.0.3 | 2.0.3 |
References by type
Other references
Affected
- Spring AI
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-59339?
FilterExpressionTextParser, the vector store filter expression parser, is vulnerable to a denial of service when parsing untrusted filter expressions. The parser is a recursive-descent ANTLR4 parser with no limit on nesting depth, and parse() only catches ParseCancellationException .
How severe is CVE-2026-59339?
CVE-2026-59339 has a CVSS 3.1 base score of 7.5 (high), from the CNA (vmware.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-59339 being exploited?
Not as far as is known: CVE-2026-59339 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-59339?
Spring AI ≥ 2.0.0, < 2.0.2.1 (fixed in 2.0.2.1); Spring AI ≥ 1.1.0, < 1.1.10 (fixed in 1.1.10); Spring AI ≥ 1.0.0, < 1.0.11 (fixed in 1.0.11); Spring AI ≥ 2.0.0, < 2.0.3 (fixed in 2.0.3).
How do I fix CVE-2026-59339?
Update to a fixed release: Spring AI 2.0.2.1; Spring AI 1.1.10; Spring AI 1.0.11.