Security mailing lists by PureSourceCode

CVE-2026-41731

HIGH 8.1CVSS 3.1

In Spring for Apache Kafka, overly broad trusted-package matching in header mappers exposes JDK classes to deserialization

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 3.3.15; 3.2.0 through 3.2.13; 2.9.0 through 2.9.13; 2.8.0 through 2.8.11.

Published
10 Jun 2026
Last modified
5 Aug 2026
Assigned by
security@vmware.com
NVD status
Analyzed
Weakness
CWE-502
Also known as
GHSA-xq69-5h5v-x9x4
Sources
NVDJSONOSV GHSA-xq69-5h5v-x9x4JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@vmware.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vmware spring_for_apache_kafka
cpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:*
>= 2.8.0, < 2.8.12 2.8.12
NVD vmware spring_for_apache_kafka
cpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:*
>= 2.9.0, < 2.9.14 2.9.14
NVD vmware spring_for_apache_kafka
cpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:*
>= 3.2.0, < 3.2.14 3.2.14
NVD vmware spring_for_apache_kafka
cpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:*
>= 3.3.0, < 3.3.15.1 3.3.15.1
NVD vmware spring_for_apache_kafka
cpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.0.5.1 4.0.5.1
NVD redhat fuse
cpe:2.3:a:redhat:fuse:7.0.0:*:*:*:*:*:*:*
= 7.0.0
NVD redhat jboss_enterprise_application_platform_expansion_pack
cpe:2.3:a:redhat:jboss_enterprise_application_platform_expansion_pack:-:*:*:*:*:*:*:*
(no version)
OSV Maven org.springframework.kafka:spring-kafka >= 4.0.0, < 4.0.6 4.0.6
OSV Maven org.springframework.kafka:spring-kafka >= 3.3.0, < 3.3.16 3.3.16
OSV Maven org.springframework.kafka:spring-kafka >= 3.2.0, <= 3.2.13
OSV Maven org.springframework.kafka:spring-kafka >= 2.9.0, <= 2.9.13
OSV Maven org.springframework.kafka:spring-kafka <= 2.8.11

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 10 Jun 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.