## cve-2026-59395 - MEDIUM - Spring AMQP Publisher-Controlled Headers Overwrite Framework-Derived amqp_* Headers

- 種別: advisory
- 関連技術: spring, java
- CVE: CVE-2026-59395
- 公開日時: 2026-11-19T00:00:00.000Z
- 情報源: Spring Security Advisories (https://spring.io/security/cve-2026-59395)
- パーマリンク: https://vulnpulse.app/items/spring-security-bc6338f24670

SimpleAmqpHeaderMapper.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 publ…