CVE-2026-59339: Spring AI · Denial of Service via uncontrolled recursion in FilterExpressionTextParser
Affects Spring AISource CVE Database V5
Not known to be exploited · CVSS 7.5 High · fixed in 2.0.3 : patch Spring AI soon.
Data as of 2 Dec 2026, 08:14 UTC
Thin evidence
One scorer or none| CNA (vmware) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 2.0.3, 2.0.2.1, 1.1.10 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade Spring AI to 2.0.3, 2.0.2.1, 1.1.10 or 1.0.11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SpringSpring AI | Affected
| Fixed in
|
| SpringSpring AI | Affected
| Fixed in
|
| SpringSpring AI | Affected
| Fixed in
|
| SpringSpring AI | Affected
| Fixed in
|
AI-suggested
A fix is available in Spring AI versions 2.0.3, 2.0.2.1, 1.1.10, and 1.0.11. Users should upgrade to one of these fixed versions to remediate the vulnerability. Until patched, avoid accepting untrusted filter expressions or implement input validation to limit nesting depth in filter expressions.
Description
CVE-2026-59339 is a denial of service vulnerability in the FilterExpressionTextParser component of Spring AI. The parser uses a recursive-descent ANTLR4 approach without limits on nesting depth, allowing crafted deeply nested filter expressions to cause unbounded recursion. This results in a stack overflow error that terminates the thread handling the request. Applications accepting untrusted filter expressions, such as those using QuestionAnswerAdvisor.FILTER_EXPRESSION or SearchRequest.withFilterExpression(), are affected. Repeated exploitation can degrade or deny service to all users by exhausting worker threads, although the crash is thread-local and does not affect the entire JVM. The issue affects multiple versions of Spring AI and has been fixed in versions 2.0.3, 2.0.2.1, 1.1.10, and 1.0.11.