Skip to content

CVE-2026-59278 In Spring for Apache Kafka, SSRF via DNS resolution triggered by untrusted java.net types in header mapper default trusted packages

MediumCVSS 6.5 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Red Hat

Description

JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper include java.net in their default trusted packages list. When these mappers are used — which is the default configuration for all @KafkaListener consumers — an external Kafka producer can inject a java.net.InetAddress type via the spring_json_header_types message header.
Spring for Apache Kafka 4.1.0
Spring for Apache Kafka 4.0.0 - 4.0.6
Spring for Apache Kafka 3.0.0 - 3.3.16
Spring for Apache Kafka 2.9.0 - 2.9.14
Spring for Apache Kafka 2.8.12 and earlier

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Spring for Apache Kafka <= 2.8.12; = 4.1.0; >= 2.9.0, <= 2.9.14; >= 3.0.0, <= 3.3.16 +1 more after 2.8.12, 2.9.14, 3.3.16, 4.0.6 Fixed
VMware spring for apache kafka < 2.8.13; >= 2.9.0, < 2.9.15; >= 3.0.0, < 3.3.17; >= 4.0.0, < 4.0.6.1 +1 more 2.8.13, 2.9.15, 3.3.17, 4.0.6.1, 4.1.0.1 Fixed

Affected products

ProductAffected versionsFixed in
Spring for Apache Kafka = 4.1.0 No fix listed
Spring for Apache Kafka >= 4.0.0, <= 4.0.6 No fix listed
Spring for Apache Kafka >= 3.0.0, <= 3.3.16 No fix listed
Spring for Apache Kafka >= 2.9.0, <= 2.9.14 No fix listed
Spring for Apache Kafka <= 2.8.12 No fix listed
redhat/spring-kafka(Red Hat:jboss_fuse:7) All versions No fix listed
VMware spring for apache kafka < 2.8.13 2.8.13
VMware spring for apache kafka >= 2.9.0, < 2.9.15 2.9.15
VMware spring for apache kafka >= 3.0.0, < 3.3.17 3.3.17
VMware spring for apache kafka >= 4.0.0, < 4.0.6.1 4.0.6.1
VMware spring for apache kafka >= 4.1.0, < 4.1.0.1 4.1.0.1

References