Spring
Don't miss out!
Thousands of developers use stack.watch to stay informed.Get an email whenever new security vulnerabilities are reported in any Spring product.
RSS Feeds for Spring security vulnerabilities
Create a CVE RSS feed including security vulnerabilities found in Spring products with stack.watch. Just hit watch, then grab your custom RSS feed url.
Products by Spring Sorted by Most Security Vulnerabilities since 2018
By the Year
In 2026 there have been 210 vulnerabilities in Spring with an average score of 6.3 out of ten. Last year, in 2025 Spring had 13 security vulnerabilities published. That is, 197 more vulnerabilities have already been reported in 2026 as compared to last year. Last year, the average CVE base score was greater by 1.35
| Year | Vulnerabilities | Average Score |
|---|---|---|
| 2026 | 210 | 6.34 |
| 2025 | 13 | 7.68 |
| 2024 | 22 | 7.17 |
| 2023 | 2 | 7.00 |
| 2022 | 0 | 0.00 |
| 2021 | 0 | 0.00 |
| 2020 | 1 | 0.00 |
It may take a day or so for new Spring vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.
Recent Spring Security Vulnerabilities
| CVE | Date | Vulnerability | Products |
|---|---|---|---|
| CVE-2026-59340 | Nov 23, 2026 |
VMware PagePdfDocumentReader/ParagraphPdfDocumentReader DoS (CVE-2026-59340)PagePdfDocumentReader and ParagraphPdfDocumentReader are vulnerable to a denial of service when processing untrusted PDF input. The underlying text extraction logic reconstructs layout from a PDF's glyph positions and limits how much memory can be allocated for any single computed gap, but does not limit the cumulative allocation across an entire page. A specially crafted PDF can exploit this to force excessive memory allocation during processing, resulting in OutOfMemoryError. Depending on JVM configuration, this can cause request failures with degraded service under repeated exploitation, or immediate JVM termination when ExitOnOutOfMemoryError options are used. Any application that processes PDFs from untrusted sources (document upload, email attachment processing, RAG ingestion, web crawling) using either affected reader is impacted. |
|
| CVE-2026-59442 | Nov 23, 2026 |
Typesense filter converter misparses grouped filters, enabling access bypassTypesenseFilterExpressionConverter does not correctly translate grouped (parenthesized) filter expressions into the Typesense filter syntax. As a result, the filter sent to Typesense can have a different meaning than the one the application defined, and some conditions may not be applied as intended. An application is affected if it uses the Typesense vector store with filter expressions that contain groups and relies on them to restrict results, for example to enforce tenant isolation or access control. In that case, a remote user may be able to retrieve documents they should not have access to, and the same filter used for a delete operation may remove documents outside the intended scope. |
|
| CVE-2026-123886 | Nov 23, 2026 |
Spring Data Elasticsearch SpEL Injection via @Query Positional PlaceholdersSpring Data Elasticsearch replaces positional placeholders in string-based @Query methods with the method arguments before it evaluates SpEL expressions in the resulting query string. As a result, an argument that contains a SpEL expression is evaluated as part of the query, even if the declared query does not use SpEL. An application is affected if it passes untrusted input as an argument to a repository query method that declares a @Query with positional placeholders. In that case, a remote attacker can execute arbitrary code in the application, and repeated requests can exhaust memory through the unbounded expression cache. |
|
| CVE-2026-59324 | Aug 27, 2026 |
Spring Integration (7.1.0) - Concurrent FluxMessageChannel ReplyHeader BugWhen an IntegrationFlow uses .fluxTransform() with an asynchronous/reordering fluxFunction that emits raw payloads, concurrent requests on the same FluxMessageChannel subscription have their reply headers (replyChannel, errorChannel, correlationId, any propagated security/tenant headers) copied from whichever message was most recently consumed upstream. Spring Integration 7.1.0 Spring Integration 7.0.0 - 7.0.5 Spring Integration 6.5.0 - 6.5.10 Spring Integration 6.4.0 - 6.4.12 Spring Integration 5.5.21 and earlier |
|
| CVE-2026-59322 | Aug 27, 2026 |
Spring Integration EMJMM header injection (v6.x-7.1.0)The EmbeddedHeadersJsonMessageMapper defaults to an overly permissive header parsing posture in its constructor. When decodeNativeFormat processes raw byte payloads, it deserializes embedded JSON headers into a plain Map and constructs a GenericMessage with MutableMessageHeaders without sanitizing or filtering untrusted header names by default. Spring Integration 7.1.0 Spring Integration 7.0.0 - 7.0.5 Spring Integration 6.5.0 - 6.5.10 Spring Integration 6.4.0 - 6.4.12 Spring Integration 5.5.21 and earlier |
|
| CVE-2026-59321 | Aug 27, 2026 |
Spring Integration ScriptEngine Reuse (JSR-223 THREADING=null) before 7.1.0A single ScriptEngine instance is reused for every message on a script-backed channel. For JSR-223 engines that report THREADING=null (not thread-safe, e.g. the Kotlin kts engine), concurrent message processing can corrupt engine-internal state, potentially leaking one message's payload/headers bindings into another message's script evaluation or throwing spurious exceptions. Spring Integration 7.1.0 Spring Integration 7.0.0 - 7.0.5 Spring Integration 6.5.0 - 6.5.10 Spring Integration 6.4.0 - 6.4.12 Spring Integration 5.5.21 and earlier |
|
| CVE-2026-59320 | Aug 27, 2026 |
Spring AMQP 4.1.0 link credit exhaustion via ErrorHandlerWhen a container-level ErrorHandler is configured (the mitigation for finding 221000), each delivery whose processing throws still permanently consumes one link credit. After initialCredits (default 100) failing messages the receiver's credit reaches zero and the broker stops delivering, leaving the listener silently stalled while isRunning() remains true. Spring AMQP 4.1.0 |
|
| CVE-2026-59319 | Aug 27, 2026 |
RedisChatMemoryRepository.findByMetadata RediSearch Injection in Spring AI 2.0.0RedisChatMemoryRepository.findByMetadata() builds RediSearch tag and text queries from caller-supplied metadata values without applying RediSearchUtil.escape(), unlike get(), clear(), and findByTimeRange() in the same class which do escape their inputs. An application that passes user-controlled values to findByMetadata() on a tag-typed metadata field allows an attacker to inject RediSearch syntax (e.g. x} | *) that breaks out of the tag clause and matches all indexed chat messages across every conversation in the index. Spring AI 2.0.0 |
|
| CVE-2026-59317 | Aug 27, 2026 |
Spring Kafka 4.1.0: BigInteger header leads to DoSDeadLetterPublishingRecovererFactory reads the retry_topic-original-timestamp header from an inbound ConsumerRecord and passes its raw bytes directly to new BigInteger(header.value()) with no length or format validation. Spring for Apache Kafka 4.1.0 Spring for Apache Kafka 4.0.0 - 4.0.6 Spring for Apache Kafka 3.0.0 - 3.3.16 Spring for Apache Kafka 2.9.0 - 2.9.14 Spring for Apache Kafka 2.8.12 and earlier |
|
| CVE-2026-59316 | Aug 27, 2026 |
Spring Auth Server 1.5.x XSS in DefaultConsentPage (unencoded user values)Spring Authorization Server's default consent page renders user-controlled values without HTML entity encoding. When using the DefaultConsentPage, an attacker can craft an OAuth2 authorization request containing a malicious value that is stored server-side and later rendered unencoded in the default consent page presented to the end user. Spring Authorization Server 1.5.0 - 1.5.8 Spring Authorization Server 1.4.0 - 1.4.11 |