Skip to main content

Spring AI CVE-2026-59339

| EUVDEUVD-2026-141026 HIGH
2026-12-02 vmware
7.5
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach RAG filter-expression input
  2. Delivery
    Submit deeply nested parentheses payload
  3. Exploit
    Drive unbounded recursive-descent parsing
  4. Execution
    Exhaust worker thread stack (StackOverflowError)
  5. Impact
    Repeat to deny service to all users

Vulnerability Assessment

Exploitation Conditions

Exploitation requires that the application pass untrusted, attacker-controllable text into a Spring AI vector-store filter expression - specifically runtime filter expressions supplied via QuestionAnswerAdvisor.FILTER_EXPRESSION or SearchRequest.withFilterExpression() in a RAG pipeline. The CVSS vector is AV:N/AC:L/PR:N/UI:N (no authentication, no user interaction) once such an endpoint is exposed. The key limiting factor is this deployment pattern: applications that only ever build filter expressions from trusted, server-side values are not exploitable. A further mitigating factor is that each successful payload throws a thread-local StackOverflowError that terminates only the handling thread rather than the JVM, so denial of service to all users requires repeated submissions that exhaust a bounded worker pool. Affected: Spring AI 1.0.x before 1.0.11, 1.1.x before 1.1.10, and 2.0.x before 2.0.3 (and the 2.0.2.1 patch line).

Impact

Severity signals are moderate and internally consistent but not alarming. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H = 7.5) describes a network-reachable, low-complexity, unauthenticated flaw with availability-only impact and no scope change, which matches the description of an uncontrolled-recursion denial of service. The vuln.today Decision label is 'this_week' (not act_now/emergency), aligning with an exploitable but non-catastrophic availability bug. No KEV listing and no EPSS score were supplied, and the references (spring.io advisory, NVD calculator link, HeroDevs directory entry) are advisories rather than exploit code, so exploitation is not demonstrated - no public exploit identified at time of analysis. One meaningful nuance tempers the A:H rating: the description states any single crash is thread-local (StackOverflowError kills one worker thread, not the JVM), so true service denial requires repeated submissions to exhaust a bounded worker pool rather than a single request taking the whole process down. Net: a real but priority-this-week issue - patch within the normal cycle, not a drop-everything emergency, and most pressing only for apps that actually feed untrusted input into filter expressions.

Exploit ScenarioDerived

An attacker interacts with a RAG endpoint whose application forwards attacker-controlled text into a Spring AI filter expression (e.g. via QuestionAnswerAdvisor.FILTER_EXPRESSION or SearchRequest.withFilterExpression()). They submit a filter string containing thousands of deeply nested parentheses, driving the recursive-descent ANTLR4 parser into unbounded recursion that throws an uncaught StackOverflowError and kills the handling thread. No public exploit is identified at time of analysis, but the payload is trivial to construct and requires no authentication per the CVSS vector; repeating it against a bounded worker pool degrades or denies service to all users.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Denial of service in Spring AI's vector-store filter expression parser (FilterExpressionTextParser) allows remote, unauthenticated attackers to terminate the handling thread by submitting a filter expression with deeply nested parentheses, which drives unbounded recursion in the ANTLR4 recursive-descent parser and raises an uncaught StackOverflowError. Applications that pass attacker-controlled text into runtime filter expressions via QuestionAnswerAdvisor.FILTER_EXPRESSION or SearchRequest.withFilterExpression() in RAG pipelines are affected, and repeated submissions against a bounded worker pool can degrade or deny service to all users even though each crash is thread-local. Affected branches are Spring AI 1.0.x before 1.0.11, 1.1.x before 1.1.10, and 2.0.x before 2.0.3, with the 2.0.2.1 patch line also listed; a vendor patch is available, and no public exploit was identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade Spring AI to 1.0.11 for the 1.0.x line, 1.1.10 for the 1.1.x line, or 2.0.3 for the 2.0.x line; the 2.0.2.1 patch line is also listed in the affected-version data. The vendor advisory is https://spring.io/security/cve-2026-59339. Until upgraded, the deployment condition identified in the assessment is to stop passing untrusted, attacker-controllable text into vector-store filter expressions: keep runtime filter expressions sourced from trusted server-side values and do not expose QuestionAnswerAdvisor.FILTER_EXPRESSION or SearchRequest.withFilterExpression() to untrusted input. Each crafted payload causes a thread-local StackOverflowError rather than a JVM-wide crash, so repeated submissions against a bounded worker pool are needed to degrade service to all users; the vuln.today priority decision label is this_week.

Affected VersionsENISA

Spring AI 2.0.0 <2.0.3
Spring AI 1.1.0 <1.1.10
Spring AI 1.0.0 <1.0.11
Spring AI 2.0.0 <2.0.2.1

Affected Packages

euvd spring_ai fix: 1.0.11, 1.1.10, 2.0.2.1, 2.0.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FilterExpressionTextParser is the vector-store filter expression parser in Spring AI. It is a recursive-descent parser built with ANTLR4 and imposes no limit on nesting depth, and its parse() method only catches ParseCancellationException. A filter expression containing deeply nested parentheses therefore drives the parser into unbounded recursion until the calling thread's stack is exhausted, producing a StackOverflowError that is not caught. Because the error is thread-local, a single payload terminates only the handling thread; denial of service across all users requires repeated submissions that exhaust a bounded worker pool. The CPE cpe:2.3:a:spring:spring_ai identifies Spring AI as the affected product, and the flaw is reachable when runtime filter expressions are supplied from untrusted input via QuestionAnswerAdvisor.FILTER_EXPRESSION or SearchRequest.withFilterExpression() in retrieval-augmented generation pipelines. Applications that build filter expressions only from trusted, server-side values are not exploitable. No CWE was supplied.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-reachable, trivial payload, no auth or interaction, availability-only; A:H retained because repeated submissions against a bounded worker pool can fully deny service despite each crash being thread-local.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Dec 02, 2026 - 08:01 EUVD
CVE Published
Dec 02, 2026 - 07:09 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Spring AI's vector-store filter expression parser is vulnerable to a denial-of-service attack that can be triggered remotely without authentication, disrupting RAG-based applications. This affects any service using Spring AI for retrieval-augmented generation, potentially degrading or denying service to all users, which could impact customer-facing applications and internal operations relying on AI-driven features.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
Medium
popular but emerging Java RAG framework, growing adoption, not yet everywhere
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-59367 CRITICAL POC
9.4 Dec 02

EmbeddedLdapServer in the spring-ldap-test artifact, Spring LDAP's test fixture, listens on every network interface of i

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy