CVE Watchtower

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.
Severity Level
HIGH(7.5)
Published Date
Nov 19, 2026
Last Modified
Nov 19, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The product does not properly control the allocation and maintenance of a limited resource, enabling denial-of-service conditions.
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:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

Affected & Patched Versions

Affected 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
Patched Versions
  • 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.

  1. Check whether you run Spring AI and which version.
  2. 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 alerts

More Spring AI CVEs

External References

Data last checked: Nov 20, 2026 05:01 UTC