CVE-2026-59363
Spring Integration MQTT v5 Header Mapper Maps All User Properties Including Framework-Significant Headers
Description
MQTT 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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.integration » spring-integration-mqtt | >= 5.5.5, <= 5.5.22>= 6.0.0, <= 6.4.13>= 6.5.0, <= 6.5.11>= 7.0.0, < 7.0.8>= 7.1.0, < 7.1.3 | 7.0.8, 7.1.3 |
Blast radius
90% of the dependent artifacts (36) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 395 |
| 2 hops | 120 |
| 3 hops | 28 |
Most used dependents
- cn.hamm » airpower-core13 usages
- io.github.shuigedeng » taotao-boot-starter-mqtt2 usages
- org.springframework.cloud.fn » spring-mqtt-common2 usages
- org.springframework.cloud.fn » spring-mqtt-consumer2 usages
- org.springframework.cloud.fn » spring-mqtt-supplier2 usages
- cn.hamm » airpower-mqtt1 usages
- cool.doudou » mqtt-assistant-core1 usages
- com.flision.messaging » messaging-provider-mqtt1 usages
- dev.cookiecode » rika2mqtt-mqtt1 usages
- tech.mystox.framework » yyds-mqtt-starter1 usages
- io.github.truenine » composeserver-depend-paho0 usages
- cn.hamm » airpower-websocket0 usages
- io.github.shuigedeng » taotao-cloud-demo0 usages
- io.github.shuigedeng » taotao-boot-demo0 usages
- cn.hamm » airpower-web0 usages
Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
