CVE-2026-59338 — Spring AI
One of 10 Spring AI vulnerabilities published together by NVD: our article covers all of them.
ApacheWebAIVulnerabilitiesSummary
TikaDocumentReader in Spring AI uses Apache Tika to extract text from documents. Its default configuration disables Tika's built-in content-size limit, so the extracted text of a parsed document is buffered in memory with no absolute bound. Apache Tika still aborts a parse when the extracted text is disproportionate to the size of the input, which rejects highly compressed inputs such as archive bombs, but that guard is relative to the input and places no ceiling on the total amount of text extracted. An application that uses TikaDocumentReader to process documents from an untrusted source (e.g., user-uploaded files or attacker-supplied URLs) may therefore be induced to allocate an excessive amount of memory while parsing a sufficiently large document, potentially exhausting available JVM heap and causing a denial of service.
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Spring 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 |
References by type
Other references
Affected
- Spring AI
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-59338?
TikaDocumentReader in Spring AI uses Apache Tika to extract text from documents. Its default configuration disables Tika's built-in content-size limit, so the extracted text of a parsed document is buffered in memory with no absolute bound.
How severe is CVE-2026-59338?
CVE-2026-59338 has a CVSS 3.1 base score of 7.5 (high), from the CNA (vmware.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-59338 being exploited?
Not as far as is known: CVE-2026-59338 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-59338?
Spring AI ≥ 2.0.0, < 2.0.2.1 (fixed in 2.0.2.1); Spring AI ≥ 1.1.0, < 1.1.10 (fixed in 1.1.10); Spring AI ≥ 1.0.0, < 1.0.11 (fixed in 1.0.11); Spring AI ≥ 2.0.0, < 2.0.3 (fixed in 2.0.3).
How do I fix CVE-2026-59338?
Update to a fixed release: Spring AI 2.0.2.1; Spring AI 1.1.10; Spring AI 1.0.11.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-120353: Apache Airflow Standard provider, Apache Airflow CNCF Kubernetes provider, Apache Airflow Common SQL provider, Apache Airflow Common Ai provider: Code execution on the worker via Jinja in Dag run conf or task arguments passed to @task.bash and similar TaskFlow decorators
- Apache IoTDB MCP Server Writes Connection Password to Startup Logs (CVE-2026-135747)
- Apache APISIX Vulnerability Allows Unauthorized API Access
- Apache APISIX Vulnerability Allows Identity Spoofing
- Apache Batik 1.19 and Earlier Vulnerable to Denial of Service in SVG Reference Handling