HIGH 8.1

CVE-2026-41732

Spring for Apache Pulsar: JsonPulsarHeaderMapper Trusted-Package Prefix Check Allows Unintended Subpackage Deserialization

Description

JsonPulsarHeaderMapper matched type headers against trusted packages using a prefix check, meaning that trusting any package implicitly trusted all of its subpackages. Additionally, an empty trusted-packages configuration fell back to trusting all packages rather than applying a safe default allow-list.

Affected versions: Spring for Apache Pulsar 2.0.0 through 2.0.5; 1.2.0 through 1.2.17; 1.1.0 through 1.1.17.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.pulsar » spring-pulsar
<= 1.1.17>= 1.2.0, < 1.2.18>= 2.0.0, < 2.0.6
1.2.18, 2.0.6

Blast radius

1affected artifacts
60affected versions
34dependent artifacts (est.)
668dependent versions

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

DepthDependent versions
Direct
182
2 hops
106
3 hops
61
4 hops
44
5 hops
245
6 hops
30

Most used dependents

Computed from the dependency graph of build 20261125.0317 (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.