Intel

AIKIDO-2026-351068

spring-rabbit is vulnerable to Improper Validation of Certificate with Host Mismatch

Improper Validation of Certificate with Host MismatchCVE-2026-59272 Published 6 days ago

68

Medium Risk

This Affects:

JAVAspring-rabbit
0.0.1 - 4.0.4
Fixed in 4.0.5
4.1.0 - 4.1.0
Fixed in 4.1.1
Are you affected? Scan for Free

TL;DR

spring-rabbit Log4j2 AmqpAppender disables TLS hostname verification by default even though the documentation says it is on. An on-path attacker can intercept log traffic that often contains tokens, PII, or secrets in stack traces. Operators have no configuration signal that verification is off. The patch enables hostname verification by default.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and logs are shipped to RabbitMQ over TLS with the Log4j2 AmqpAppender using default hostname verification.

Background info

spring-rabbit is vulnerable to Improper Validation of Certificate with Host Mismatch in versions 0.0.1 - 4.0.4 and 4.1.0 - 4.1.0.

How to fix this

Upgrade the org.springframework.amqp:spring-rabbit library to the patch version.