Vulnerability · Published Jun 9, 2026 · Assigned by vmware
CVE-2026-41732In Spring for Apache Pulsar, overly broad trusted-package matching in header mapper exposes JDK classes to deserialization
High 8.1
In plain English
A high-severity unsafe deserialization in Spring for Apache Pulsar from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.springframework.pulsar:spring-pulsar | 2.0.6 | GHSA-gg69-9wwp-6jx2 |
| Maven | org.springframework.pulsar:spring-pulsar | 1.2.18 | GHSA-gg69-9wwp-6jx2 |
| Maven | org.springframework.pulsar:spring-pulsar | no fix listed | GHSA-gg69-9wwp-6jx2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring for Apache Pulsar | 2.0.0 – before 2.0.5.11.2.0 – before 1.2.17.11.1.0 – before 1.1.18 |
Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H