Spring Integration vulnerabilities

28 vulnerabilities

Known vulnerabilities in Spring Integration, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-59444spring · spring integrationSpring Integration Redis Queue Unsafe Java DeserializationSpring Integration Redis queue endpoints use unrestricted Java deserialization by default. RedisQueueMessageDrivenEndpoint and RedisQueueInboundGateway deserialize data read from Redis lists, while RedisQueueOutboundGateway deserializes replies, using JdkSerializationRedisSerializer unless an application configures another serializer. An attacker who can write crafted serialized data to a Redis list consumed by one of these endpoints can trigger deserialization of arbitrary classes. If a suitable gadget chain is present on the application's classpath, this can lead to remote code execution in the application process. Applications are affected when they use one of these Redis queue endpoints with its default serializer and allow an untrusted or compromised client to write to the relevant Redis list.CVSS7.5HighEPSS0.53%RoutineCVE-2026-59443spring · spring integrationSpring Integration FluxAggregatorMessageHandler unbounded memory consumption via the sequenceSize message headerBy default, the FluxAggregatorMessageHandler derives the window size for a correlation group from the sequenceSize message header and passes it to the Reactor Flux.window(int) operator without any validation. A remote sender whose messages reach a default-configured FluxAggregatorMessageHandler can set this header to a very large value, such as Integer.MAX_VALUE , which opens a window that never closes. All subsequent messages for that correlation key are then buffered in memory indefinitely, which leads to heap exhaustion and a denial of service for the whole application. A non-positive header value, or a message without a correlation key, also terminates the whole aggregating Flux , so the handler stops releasing any further groups. An application is affected if it uses the FluxAggregatorMessageHandler with the default window size (taken from the sequenceSize header) and the correlationId and sequenceSize headers can be set by untrusted message sources.CVSS6.5MediumEPSS0.62%RoutineCVE-2026-59438spring · spring integrationSpring Integration MongoDbMessageStore allow-list API silently loses effect after startupMongoDbMessageStore exposes an addAllowedPatterns() API that restricts which classes may be deserialized from stored ErrorMessage payloads. Its Javadoc does not state that it must be called before the store is initialized. The allow-list is copied by value into the internal converter only once, when the store is initialized. If addAllowedPatterns() is called after initialization, the new patterns are never applied. Because an empty allow-list permits every class, the store continues to deserialize arbitrary classes while the application believes it is restricted. An attacker who can influence the serialized bytes stored in the backing MongoDB collection can cause an arbitrary Java class to be deserialized, which may lead to remote code execution through a gadget chain. Applications that configure the allow-list before the store is initialized are not affected.CVSS6.6MediumEPSS1.08%PrioritiseCVE-2026-59416spring · spring integrationSpring Integration FTP SITE chmod Command Injection via Message-Controlled Remote PathSpring Integration FTP/FTPS outbound components ( FtpMessageHandler and FtpOutboundGateway ) build a textual FTP SITE chmod command by concatenating the remote file path into the command argument. If chmod is enabled and the remote filename or directory is derived from untrusted message data (for example, the FileHeaders.FILENAME header used by the default DefaultFileNameGenerator ), a crafted value containing CRLF characters can inject additional FTP commands on the same control connection. An attacker who can influence the remote filename or path can execute unintended FTP control commands with the privileges of the configured FTP account. Depending on server permissions, the impact can include deletion, renaming, permission changes, or other server-supported FTP/SITE operations. An application is affected if it uses the Spring Integration FTP outbound channel adapter or gateway with the chmod option set and the remote file name or remote directory can be controlled by an untrusted message sender.CVSS7.0HighEPSS0.31%RoutineCVE-2026-59405spring · spring integrationSpring Integration XMPP Connection Factory Allows STARTTLS Stripping Due to Insecure Default Security ModeThe XmppConnectionFactoryBean in Spring Integration XMPP builds an XMPPTCPConnectionConfiguration without setting a security mode, so Smack's default of SecurityMode.ifpossible applies. TLS is then negotiated only if the server advertises STARTTLS. Because the STARTTLS feature is advertised in the cleartext stream-features stanza, an on-path attacker can remove it, and the client silently continues without encryption. The configured credentials (or the SCRAM exchange) and all later message traffic are then sent in plaintext, which lets the attacker steal credentials and read and inject XMPP messages that the integration flow treats as legitimate. Applications are affected if they use XmppConnectionFactoryBean to create the XMPP connection, rather than supplying their own XMPPTCPConnectionConfiguration , and an attacker can actively interpose on the network path to the XMPP server.CVSS2.2LowEPSS0.30%RoutineCVE-2026-59383spring · spring integrationSpring Integration JdbcMessageStore Allow-List Bypass Leading to Unsafe DeserializationThe fix for CVE-2026-59307 introduced a regression in JdbcMessageStore . When the store is configured as a <bean> or via @Bean , the Spring container populates properties (including addAllowedPatterns() ) before invoking the BeanClassLoaderAware callback. setBeanClassLoader() then replaces the deserializer with a new, empty AllowListDeserializingConverter and rebinds the message row mapper to it, discarding the previously registered allowed patterns. Since an empty allow-list permits all types, the store deserializes any class present on the classpath from the INT_MESSAGE.MESSAGE_CONTENT column, silently defeating the allow-list the operator configured. Applications are affected if they use JdbcMessageStore with an allow-list of deserializable types configured through addAllowedPatterns() on a Spring-managed bean, and an attacker is able to write to the message store table.CVSS8.0HighEPSS0.37%RoutineCVE-2026-59382spring · spring integrationSpring Integration Zip Transformer Default Work Directory Can Be Redirected via SymlinkThe symbolic link guard in AbstractZipTransformer.onInit() protects an explicitly configured workDirectory , but not the default one. The default work directory, ${java.io.tmpdir}/ziptransformer , is canonicalized when the transformer is constructed, so any symbolic link at that location is already resolved to its target by the time the guard runs, and the check passes. Because the default path is fixed and well known, an unprivileged local user who can create ${java.io.tmpdir}/ziptransformer as a symbolic link before the application starts can redirect the transformer's temporary file writes to a directory of their choosing, with files written as the application's user. No configuration is required on the application side; using the default work directory is enough.CVSS6.8MediumEPSS0.75%RoutineCVE-2026-59381spring · spring integrationSpring Integration Remote File MGET Local Directory Path Traversal via Server-Controlled Remote DirectoryThe fix for CVE-2026-40987 validates only the file name against the local directory. For the remote file outbound gateway MGET command, the local directory itself can be derived from the server-controlled listing entry via the documented #remoteDirectory SpEL variable in a local-directory-expression . Since the directory is canonicalized before the containment check, the check passes even though the directory has already escaped the intended root, and the framework then creates the escaped directory. As a result, a malicious FTP, SFTP or SMB server can write files with attacker-controlled content to arbitrary paths outside the configured local directory. Applications are affected if they use the MGET command of an FTP, SFTP or SMB outbound gateway with a local directory expression that references #remoteDirectory (as in the reference documentation examples) and connect to a server that may be malicious or compromised.CVSS7.1HighEPSS0.20%RoutineCVE-2026-59365spring · spring integrationSpring Integration AMQP Default Inbound Header Mapper Maps replyChannel and errorChannel HeadersWith its default inbound request header pattern of * , DefaultAmqpHeaderMapper.inboundMapper() copies all AMQP application headers into the Spring Integration message headers, including the framework-significant replyChannel and errorChannel headers. This mapper is used by default by all AMQP inbound components, such as AmqpInboundChannelAdapter , AmqpInboundGateway , AmqpMessageSource and AMQP-backed message channels. An attacker able to publish messages to a RabbitMQ queue consumed by an affected application can therefore set these headers. A replyChannel or errorChannel header is later resolved as a MessageChannel bean name, which allows the attacker to redirect the output of reply-producing handlers without an explicit output channel, or error messages, to another channel in the application.CVSS6.3MediumEPSS0.46%RoutineCVE-2026-59364spring · spring integrationSpring Integration DefaultFtpsSessionFactory Does Not Verify FTPS Server Certificate and Hostname by DefaultWhen no TrustManager is explicitly configured, DefaultFtpsSessionFactory relies on the Apache Commons Net FTPSClient default trust manager, which only checks each certificate's validity dates and does not verify the certificate chain against a trust anchor. In addition, the factory does not enable hostname verification (endpoint checking) for the FTPS connection. As a result, an attacker with an active man-in-the-middle position between the application and the FTPS server can present any non-expired self-signed certificate, transparently intercept the TLS connection, capture the FTP credentials sent during login, and read or tamper with transferred files. Any application that uses DefaultFtpsSessionFactory without explicitly configuring a secure TrustManager is affected.CVSS5.6MediumEPSS0.27%RoutineCVE-2026-59363spring · spring integrationSpring Integration MQTT v5 Header Mapper Maps All User Properties Including Framework-Significant HeadersMQTT v5 PUBLISH packets carry arbitrary user properties supplied by the publisher. With its default inboundHeaderNames of * , MqttHeaderMapper maps every user property into the message headers without excluding framework-significant names such as replyChannel and errorChannel , and Mqttv5PahoMessageDrivenChannelAdapter builds the message directly from those headers. An attacker able to publish to a topic subscribed by an affected application can therefore set these headers. A replyChannel or errorChannel header is later resolved as a MessageChannel bean name, which allows the attacker to redirect the output of reply-producing handlers without an explicit output channel, or error messages (embedding the attacker payload), to another channel in the application, for example one that forwards to an external system. Applications using Mqttv5PahoMessageDrivenChannelAdapter with the default header mapping are affected.CVSS5.4MediumEPSS0.41%RoutineCVE-2026-59362spring · spring integrationSpring Integration SFTP Revoked known_hosts Entry Does Not Veto Server Key AcceptanceIf an administrator marks a compromised SFTP server key as @revoked in the known_hosts resource but the original (non-revoked) line for that key is still present, Spring Integration continues to accept the compromised key. An attacker who has stolen that server's private key can therefore continue to impersonate the SFTP server despite the revocation. ResourceKnownHostsServerKeyVerifier accepts a server key if any matching known_hosts entry is not revoked. Under OpenSSH semantics, a @revoked marker is an explicit deny that must take precedence over any other matching entry. An application is affected if it uses setKnownHostsResource() with a known_hosts file containing both a @revoked entry and a residual non-revoked entry for the same host key, and the attacker can intercept the application's outbound SFTP connection while holding the compromised private key.CVSS4.7MediumEPSS0.50%PrioritiseCVE-2026-59324spring · spring integration +1 morefluxTransform shared RequestMessageHolder causes cross-message header leakage under async fluxFunctionWhen 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 earlierCVSS8.2HighEPSS0.24%RoutineCVE-2026-59322spring · spring integration +1 moreEmbeddedHeadersJsonMessageMapper default gives wire peer full control of MessageHeadersThe 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 earlierCVSS6.3MediumEPSS0.22%RoutineCVE-2026-59321spring · spring integration +1 moreShared JSR-223 ScriptEngine evaluated concurrently without THREADING checkA 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 earlierCVSS5.4MediumEPSS0.13%RoutineCVE-2026-59311spring · spring integration +1 moreFixed predictable /tmp/ziptransformer work directory enables symlink pre-creationA local unprivileged user on the same host can redirect all Zip/UnZip transformer output into a directory of their choosing by pre-creating /tmp/ziptransformer as a symlink before the application starts. 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.12CVSS6.8MediumEPSS0.36%RoutineCVE-2026-59307spring · spring integration +1 moreDeserialization allow-list silently bypassed: setBeanClassLoader replaces deserializer but mapper keeps stale referenceAn operator who calls JdbcMessageStore.addAllowedPatterns(...) to restrict deserialization receives no protection at all when the store is a Spring-managed bean. 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.12CVSS8.0HighEPSS0.47%RoutineCVE-2026-59293spring · spring integration +1 moreSMB minimum protocol dialect defaults to SMB1Unless the application explicitly raises smbMinVersion, the jCIFS client will negotiate down to SMB1/CIFS, which lacks mandatory signing/encryption and is vulnerable to NTLM relay and content-tampering MITM. 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.12CVSS6.6MediumEPSS0.22%RoutineCVE-2026-59292spring · spring integration +1 moreWorld-readable metadata file in PropertiesPersistingMetadataStore (insecure temp-file permissions)PropertiesPersistingMetadataStore, the default file-based ConcurrentMetadataStore, persists its state to ${java.io.tmpdir}/spring-integration/metadata-store.properties with world-readable permissions. 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 earlierCVSS3.2LowEPSS0.14%RoutineCVE-2026-59274spring · spring integration +1 moreUnbounded decompression in UnZipTransformer enables zip-bomb DoSThe UnZipTransformer does not limit decompressed entry size or entry count when processing archives. Consequently, an attacker can send a zip archive that can exhaust JVM heap memory, causing a denial-of-service outage. 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.12CVSS6.5MediumEPSS0.24%