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

- Severity: Medium 6.5 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-08-27T05:20:36.841Z
- Modified: 2026-09-01T16:07:35.357Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: vmware

## 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

(As written by CVE List.)

## Affected

- Spring Spring for Apache Kafka: 4.1.0; from 4.0.0 up to 4.0.6; from 3.0.0 up to 3.3.16; from 2.9.0 up to 2.9.14; up to 2.8.12
- vmware spring_for_apache_kafka: before 2.8.13; from 2.9.0 before 2.9.15; from 3.0.0 before 3.3.17; from 4.0.0 before 4.0.6.1; from 4.1.0 before 4.1.0.1

## References

- <https://spring.io/security/cve-2026-59278> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-59278](https://www.cve.org/CVERecord?id=CVE-2026-59278), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-59278](https://nvd.nist.gov/vuln/detail/CVE-2026-59278), Public domain, modified 2026-09-01

---

Page: https://cve.day/CVE-2026-59278 · Whole record: https://cve.day/CVE-2026-59278.json · Rebuilt by cve.day 2026-11-25T22:59:35.462Z
