Unsafe deserialization via trusted-package matching in Spring for Apache Pulsar JsonPulsarHeaderMapper
CVE-2026-41732 is a high-severity unsafe deserialization issue in Spring for Apache Pulsar affecting JsonPulsarHeaderMapper. The mapper validated type headers against configured trusted packages using a prefix-based check, so trusting a package also implicitly trusted all of its subpackages. In addition, if trusted-packages was configured as empty, the implementation fell back to trusting all packages instead of enforcing a safe default allow-list. In environments using header-based type mapping together with Jackson bean deserialization, a malicious Pulsar producer can send crafted header values that cause a consumer to deserialize unintended types, including arbitrary JDK classes with constructors or initialization behavior that may have side effects. Affected versions are 2.0.0 through 2.0.5, 1.2.0 through 1.2.17, and 1.1.0 through 1.1.17.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
An input validation defect in messaging components affecting header configuration handling, enabling arbitrary class execution through crafted headers.
A vulnerability in Spring for Apache Pulsar where JsonPulsarHeaderMapper improperly trusted packages due to prefix-based matching and unsafe fallback behavior for empty trusted-packages configuration, potentially enabling unsafe deserialization-related impacts.
A deserialization-related vulnerability in Spring for Apache Pulsar caused by overly broad trusted-package matching and unsafe fallback behavior, allowing crafted header values to trigger deserialization of arbitrary JDK types.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.