SSRF in Spring For Apache Kafka

CVE-2026-59278

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

Vulnerability class: SSRF (Server-Side Request Forgery)

EPSS: 0.002 (5.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-59278?
CVE-2026-59278 is a medium-severity vulnerability in Spring For Apache Kafka, classified under Server-Side Request Forgery (SSRF). CVSS score: 6.5/10. Published 2026-08-27.
How severe is CVE-2026-59278?
Medium severity. CVSS v3 base score is 6.5 out of 10.