GHSA-gg69-9wwp-6jx2
Spring for Apache Pulsar: JsonPulsarHeaderMapper Trusted-Package Prefix Check Allows Unintended Subpackage Deserialization
Quick fix
GHSA-gg69-9wwp-6jx2 — org.springframework.pulsar:spring-pulsar: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.0.6</version> for org.springframework.pulsar:spring-pulsar Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
2.0.0 Fixed in: 2.0.6 # pom.xml: bump <version>2.0.6</version> for org.springframework.pulsar:spring-pulsar 1.2.0 Fixed in: 1.2.18 # pom.xml: bump <version>1.2.18</version> for org.springframework.pulsar:spring-pulsar 0 No fixed version published yet for org.springframework.pulsar:spring-pulsar (maven). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41732 [ADVISORY]
- https://github.com/spring-projects/spring-pulsar [PACKAGE]
- https://github.com/spring-projects/spring-pulsar/releases/tag/v1.2.18 [WEB]
- https://github.com/spring-projects/spring-pulsar/releases/tag/v2.0.6 [WEB]
- https://spring.io/security/cve-2026-41732 [WEB]