Spring AMQP vulnerabilities

11 vulnerabilities

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

RoutineCVE-2026-59404spring · spring amqpSpring AMQP Unbounded Recursion over Nested AMQP Header Field-Arrays/Field-TablesDefaultMessagePropertiesConverter recurses into nested List and Map header values when converting LongString instances, without any depth limit. AMQP 0-9-1 field-arrays and field-tables may nest arbitrarily, so a single crafted message with deeply nested headers (a few tens of KB on the wire) triggers a StackOverflowError in the consumer thread before any application code is reached. If the broker redelivers the unacknowledged message, the listener container enters a crash loop, resulting in a denial of service. Applications are affected if they consume messages with a Spring AMQP listener container or RabbitTemplate.receive() from a queue to which an attacker can publish messages.CVSS6.5MediumEPSS0.54%RoutineCVE-2026-59403spring · spring amqpSpring AMQP Per-Reply AMQP Sender Link Leak Enables Handle ExhaustionEvery reply produced by an @AmqpListener method opens a new AMQP 1.0 sender link on the shared connection and never closes it. A peer able to publish request messages with a reply-to property to the listened address can drive the consumer to exhaust the session's link-handle limit (and heap). Once the limit is reached, all further replies and any other link creation on that connection fail, permanently degrading the listener until the application is restarted. Applications are affected if they expose an @AmqpListener (or MethodAmqpListenerEndpoint ) whose handler method returns a non-void result, and an attacker can publish messages to the listened AMQP address.CVSS6.5MediumEPSS0.54%RoutineCVE-2026-59395spring · spring amqpSpring AMQP Publisher-Controlled Headers Overwrite Framework-Derived amqp_* HeadersSimpleAmqpHeaderMapper.toHeaders() first populates the Spring Messaging headers with framework-derived values from the received MessageProperties (such as amqp_receivedUserId , amqp_consumerQueue , amqp_deliveryTag and amqp_redelivered ) and then copies the raw AMQP message headers, which are fully controlled by the publisher. As a result, a publisher can supply custom headers whose names collide with the amqp_* constants and silently replace the trusted values that downstream @RabbitListener handlers see via @Header or MessageHeaders . Applications are affected if an attacker is able to publish messages routed to a listener and the application relies on an amqp_* framework header, for example AmqpHeaders.RECEIVED_USER_ID (broker-validated identity) or AmqpHeaders.CONSUMER_QUEUE , for authorization or routing decisions.CVSS4.2MediumEPSS0.31%RoutineCVE-2026-59320spring · spring amqp +1 moreIn Spring AMQP the link credit never replenished on listener exception pathWhen 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.0CVSS6.5MediumEPSS0.30%RoutineCVE-2026-59272spring · spring amqp +1 moreLog4j2 AmqpAppender disables TLS hostname verification by defaultAny application shipping logs to RabbitMQ over TLS via the Log4j2 appender, relying on the documented default, is exposed to man-in-the-middle interception of every log event. Spring AMQP 4.1.0 Spring AMQP 4.0.0 - 4.0.4 Spring AMQP 3.2.0 - 3.2.12 Spring AMQP 2.4.18 and earlierCVSS6.8MediumEPSS0.22%RoutineCVE-2026-59275spring · spring amqp +1 moreRemote JVM termination: nested-array Java deserialization bypasses allowlist, triggers StackOverflowError, default JavaLangErrorHandler calls System.exit(99)A single hostile AMQP message can terminate the entire consumer JVM (System.exit(99)), not just the listener thread — full availability loss for every workload co-located in that process. Spring AMQP 4.1.0 Spring AMQP 4.0.0 - 4.0.4 Spring AMQP 3.2.0 - 3.2.12 Spring AMQP 2.4.18 and earlierCVSS6.6MediumEPSS0.25%RoutineCVE-2026-59271spring · spring amqp +1 moreAdmin password disclosed in BrokerNotAliveException messageWhen the RabbitMQ management aliveness check fails, the configured admin password is embedded in cleartext in the thrown exception message. Spring AMQP 4.1.0 Spring AMQP 4.0.0 - 4.0.4 Spring AMQP 3.2.0 - 3.2.12 Spring AMQP 2.4.18 and earlierCVSS6.5MediumEPSS0.19%RoutineCVE-2026-47860spring · spring amqp +1 moreUnbounded decompression of attacker-supplied compressed message bodiesAn attacker who can publish to a queue consumed by an application that has enabled message decompression can crash the consumer JVM with a single ~1 MB message. Spring AMQP 4.1.0 Spring AMQP 4.0.0 - 4.0.4 Spring AMQP 3.2.0 - 3.2.12 Spring AMQP 2.4.18 and earlierCVSS6.5MediumEPSS0.24%RoutineCVE-2026-41714spring · spring amqp +2 moreIn Spring AMQP the RabbitConnectionFactoryBean.setUri("amqps://...") bypasses secure SSL setup, uses TrustEverythingTrustManagerApplications that configure their broker connection via RabbitConnectionFactoryBean.setUri("amqps://...") without also calling setUseSSL(true) get TLS encryption with no certificate validation and no hostname verification. Affected versions: Spring AMQP 4.0.0 through 4.0.3; 3.2.0 through 3.2.10; 3.1.0 through 3.1.15; 2.4.0 through 2.4.17.CVSS4.0MediumEPSS0.13%RoutineCVE-2026-41701spring · spring amqp +2 moreIn Spring AMQP sequential correlation IDs enable reply poisoning on fixed reply queuesCorrelation IDs for replies in the RabbitTemplate.sendAndReceive() with the fixed reply queue are predictable due to internal simple counter. Affected versions: Spring AMQP 4.0.0 through 4.0.3; 3.2.0 through 3.2.10; 3.1.0 through 3.1.15; 2.4.0 through 2.4.17.CVSS4.4MediumEPSS0.17%RoutineCVE-2023-34050spring · spring amqp +1 moreSpring AMQP Deserialization VulnerabilityIn spring AMQP versions 1.0.0 to 2.4.16 and 3.0.0 to 3.0.9 , allowed list patterns for deserializable class names were added to Spring AMQP, allowing users to lock down deserialization of data in messages from untrusted sources; however by default, when no allowed list was provided, all classes could be deserialized. Specifically, an application is vulnerable if * the SimpleMessageConverter or SerializerMessageConverter is used * the user does not configure allowed list patterns * untrusted message originators gain permissions to write messages to the RabbitMQ broker to send malicious contentCVSS5.0MediumEPSS1.84%