Spring Batch vulnerabilities
4 vulnerabilities
Known vulnerabilities in Spring Batch, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
RoutineCVE-2026-47881spring · spring batch +1 moreDenial of Service in Spring Batch FlatFileItemReader via Malformed Input FileSpring Batch's FlatFileItemReader supports files where a single logical record spans multiple physical lines — for example, a CSV field that contains embedded newlines wrapped in quotes. A specially crafted input file could exploit the way the reader assembles those multi-line records to consume excessive CPU time and memory, causing the batch job to stall or run out of memory.
Spring Batch 6.0.0 - 6.0.4
Spring Batch 5.2.0 - 5.2.6
Spring Batch 4.3.0 - 4.3.13CVSS7.5HighEPSS0.29%RoutineCVE-2026-47878spring · spring batch +1 moreUnsafe Java deserialization in DefaultExecutionContextSerializer without class allowlistDefaultExecutionContextSerializer, used by default in Spring Batch's JDBC job repository, passes Base64-decoded bytes directly to ObjectInputStream.readObject() without an ObjectInputFilter that restricts types to a trusted class allowlist.
Spring Batch 6.0.0 - 6.0.4
Spring Batch 5.2.6 and earlierCVSS7.3HighEPSS0.26%RoutineCVE-2026-47875spring · spring batch +1 moreJobParameterDeserializer bypasses the trusted-type allowlistApplications that deserialize execution contexts with Jackson2ExecutionContextStringSerializer are vulnerable to a deserialization attack if they use an untrusted data source for the job repository. The JobParameterDeserializer does not properly enforce the trusted-types allowlist, allowing an attacker to craft malicious input that can lead to arbitrary code execution, including known Jackson RCE gadgets.
Spring Batch 6.0.0 - 6.0.4
Spring Batch 5.2.0 - 5.2.6CVSS9.8CriticalEPSS0.30%PrioritiseCVE-2019-3774spring · spring batch +2 moreSpring Batch XML External Entity Injection (XXE)Spring Batch versions 3.0.9, 4.0.1, 4.1.0, and older unsupported versions, were susceptible to XML External Entity Injection (XXE) when receiving XML data from untrusted sources.CVSS9.8CriticalEPSS3.06%