CVE-2026-59278
6.5medium
In Spring for Apache Kafka, SSRF via DNS resolution triggered by untrusted java.net types in header mapper default trusted packages
- Severity
- 6.5medium CVSS:3.1 by vmware
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 | CVE List |
| 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 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
| https://spring.io/security/cve-2026-59278 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59278 changed 2026-08-27 | CVE Terms of Use |
| NVD | CVE-2026-59278 changed 2026-09-01 | Public domain |