CVE-2026-41731: JsonKafkaHeaderMapper and the deprecated DefaultKafkaHeaderMapper matched type headers against trusted package
CVE-2026-41731 is a high-severity flaw (CVSS 8.1) affecting spring for apache kafka, fuse, jboss enterprise application platform expansion pack. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
JsonKafkaHeaderMapper and the deprecated DefaultKafkaHeaderMapper matched type headers against trusted packages using a prefix check, meaning that trusting any package implicitly trusted all of its subpackages. Combined with Jackson's default bean deserialization, a producer could supply crafted header values that caused the consumer to deserialize arbitrary JDK types. Affected versions: Spring for Apache Kafka 4.0.0 through 4.0.5; 3.3.0 through
Why this priority
- High severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 57%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2026-06-10 |
| Last modified | 2026-08-05 |
Last updated 2026-08-05 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-41731?
spring for apache kafka: upgrade to 2.8.12, 2.9.14, 3.2.14, 3.3.15.1, 4.0.5.1; fuse: downgrade or apply the listed mitigation; jboss enterprise application platform expansion pack: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-41731 being exploited?
CVE-2026-41731 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-41731 affect?
CVE-2026-41731 affects spring for apache kafka, fuse, jboss enterprise application platform expansion pack. Severity is high (CVSS 8.1). JsonKafkaHeaderMapper and the deprecated DefaultKafkaHeaderMapper matched type headers against trusted packages using a prefix check, meaning that trusting any package implicitly trusted all of its subpackages. Combined with Jackson's defau
How urgent is CVE-2026-41731?
Priority 49/100. High severity; Remotely exploitable, no login, no user action; On your watchlist
Software pages
VMware vulnerabilities · Apache Kafka vulnerabilities · JBoss and WildFly vulnerabilities
Related CVEs
- CVE-2026-59317 MEDIUM 6.5 UPGRADE DeadLetterPublishingRecovererFactory reads the retry_topic-original-timestamp header from an inbound ConsumerR
- CVE-2026-59278 MEDIUM 6.5 UPGRADE JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper include java.net in their default trusted packages list
- CVE-2026-41726 MEDIUM 6.5 UPGRADE When an application opts into DelegatingDeserializer, a producer can grow the consumer's heap without bound by
- CVE-2026-41727 MEDIUM 6.5 UPGRADE Spring Kafka's retry topic infrastructure did not sufficiently validate user-controlled header values before a