MODERATE

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)

ArtifactAffected versionsFixed 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

1affected artifacts
107affected versions
40dependent artifacts (est.)
543dependent versions

90% of the dependent artifacts (36) still pull an affected version in their latest release.

DepthDependent versions
Direct
395
2 hops
120
3 hops
28

Most used dependents

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.