Spring AIのフィルター式解析に脆弱性、深いネストでサービス妨害のおそれ
Summary
Spring AIのFilterExpressionTextParserには、深くネストしたフィルター式を解析するとスタックを使い果たして処理が止まる脆弱性(CVE-2026-59339)があります。影響するのは2.0.2.1未満、1.1.10未満、1.0.11未満、2.0.3未満の各版で、修正版は2.0.2.1、1.1.10、1.0.11、2.0.3です。外部から受け取った検索条件をそのまま渡している場合は、早めに修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Spring AIのFilterExpressionTextParserには、深くネストしたフィルター式を解析するとスタックを使い果たして処理が止まる脆弱性(CVE-2026-59339)があります。影響するのは2.0.2.1未満、1.1.10未満、1.0.11未満、2.0.3未満の各版で、修正版は2.0.2.1、1.1.10、1.0.11、2.0.3です。外部から受け取った検索条件をそのまま渡している場合は、早めに修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SpringSpring 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 |
2.0.2.1 1.1.10 1.0.11 2.0.3 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@vmware.com
- web security@vmware.com
- web nvd.nist.gov
- web github.com