CVE-2026-59339Spring AI Uncontrolled Resource Consumption
Spring
Vulnerability Summary
Denial of Service via uncontrolled recursion in FilterExpressionTextParser. 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. Affected artifact: org.springframework.ai:spring-ai-vector-store.
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- Spring AI 2.0.0 through 2.0.2
- Spring AI 1.1.0 through 1.1.9
- Spring AI 1.0.0 through 1.0.10
- Spring AI 2.0.3 (open source)
- Spring AI 2.0.2.1 (commercial support only)
- Spring AI 1.1.10 (commercial support only)
- Spring AI 1.0.11 (commercial support only)
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Spring AI and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Spring AI CVEsYou are reading CVE-2026-59339. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
More Spring AI CVEs
External References
- Vendor Advisoryhttps://spring.io/security/cve-2026-59339
Data last checked: Nov 20, 2026 05:01 UTC