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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-27 · Modified: 2026-08-27
- Record: https://cvemate.com/vulnerability/CVE-2026-59278 · JSON: https://cvemate.com/vulnerability/CVE-2026-59278/json

## Description

```text
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
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.168%, percentile 6.43%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- spring spring for apache kafka: 4.1.0 \| ≥ 4.0.0, ≤ 4.0.6 \| ≥ 3.0.0, ≤ 3.3.16 \| ≥ 2.9.0, ≤ 2.9.14 \| ≤ 2.8.12
- 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 \| ≥ 4.1.0, \< 4.1.0.1

## References

- <https://spring.io/security/cve-2026-59278>

---

Data as of 2026-12-05T06:22:13.167Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
