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)
| Artifact | Affected versions | Fixed 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
26% of the dependent artifacts (9) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 182 |
| 2 hops | 106 |
| 3 hops | 61 |
| 4 hops | 44 |
| 5 hops | 245 |
| 6 hops | 30 |
Most used dependents
- io.softa » softa-web14 usages
- org.springframework.boot » spring-boot-starter-pulsar8 usages
- io.softa » web8 usages
- io.softa » cron-starter4 usages
- org.springframework.boot » spring-boot-pulsar4 usages
- org.springframework.boot » spring-boot-starter-classic4 usages
- io.softa » metadata-starter3 usages
- org.springframework.cloud » spring-cloud-stream-binder-pulsar3 usages
- org.springframework.boot » spring-boot-starter-pulsar-reactive2 usages
- org.springframework.pulsar » spring-pulsar-reactive2 usages
- io.softa » es-starter2 usages
- org.springframework.boot » spring-boot-autoconfigure-classic2 usages
- io.github.shuigedeng » taotao-cloud-starter-mq-pulsar2 usages
- io.softa » message-starter2 usages
- org.springframework.pulsar » spring-pulsar-spring-boot-starter2 usages
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.
References
| Advisory | NVD CVE-2026-41732 | nvd.nist.gov |
| Package | spring-projects/spring-pulsar | github.com |
| Web | spring-projects/spring-pulsar release v1.2.18 | github.com |
| Web | spring-projects/spring-pulsar release v2.0.6 | github.com |
| Web | security/cve-2026-41732 | spring.io |
