CVE-2026-59278

published 27 Aug 2026 · updated 27 Aug 2026

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

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Spring<=2.8.12, =4.1.0, >=2.9.0 <=2.9.14, >=3.0.0 <=3.3.16, >=4.0.0 <=4.0.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-59278 severity on Zeptric[![CVE-2026-59278](https://zeptric.io/badge/cve/CVE-2026-59278.svg)](https://zeptric.io/cve/CVE-2026-59278)