Log4j2 AmqpAppender disables TLS hostname verification by default

MEDIUM | AUGUST 20, 2026 | CVE-2026-59272

Description

Any 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. Attackers on the network path can read or alter log traffic (often containing tokens, PII, or stack traces with secrets) without certificate errors. The docs promise hostname verification is on by default, so operators have no reason to suspect exposure.

Affected Spring Products and Versions

Spring AMQP:

  • 4.1.0 - 4.1.0
  • 4.0.0 - 4.0.4
  • 3.2.0 - 3.2.12
  • 2.4.18 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
4.1.0.1Enterprise Support Only
4.1.1OSS
4.0.4.1Enterprise Support Only
4.0.5OSS
3.2.13Enterprise Support Only
2.4.19Enterprise Support Only

No further mitigation steps are necessary.

History

  • 2026-08-20: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all