CVE-2026-59339
7.5HighPublished Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on availability
- Weakness
- —
What an attacker gets
Remote attackers can cause a denial of service by crashing worker threads. This requires sending specially crafted, deeply nested filter expressions to your application.
Root cause
The FilterExpressionTextParser uses an ANTLR4 parser without recursion depth limits, leading to a StackOverflowError on complex inputs.
Affected versions
Versions not listed — check the vendor advisory.
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fix & remediation
Update to the latest version of Spring AI provided by the vendor. If you cannot update, sanitize all user-supplied filter expressions to reject inputs with excessive nesting before passing them to the parser.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-593387.5HighUnauthenticated attackers can trigger a denial of service by uploading large documents. This exhausts the JVM heap memory because the parser lacks an absolute size limit.
- CVE-2026-593447.5HighUnauthenticated attackers can bypass metadata filters to access unauthorized documents. This occurs when an application passes user-controlled input into SearchRequest.filterExpression.
- CVE-2026-593457.5HighRemote attackers can cause a denial of service by crashing worker threads. This requires sending a specially crafted document for processing.
- CVE-2026-811087.1HighLocal attackers with low privileges can bypass authorization to gain unauthorized access and execute commands. This requires local access to the virtual appliance.
- CVE-2026-811078.4HighLocal attackers with low privileges can execute arbitrary OS commands as root. This allows full system compromise and script injection.
- CVE-2026-811067.1HighLocal attackers can read sensitive information from log files. This requires local access to the virtual appliance.