CVE-2026-59278: Spring for Apache Kafka - Insecure Deserialization
- Cve: CVE-2026-59278
- Name: Spring for Apache Kafka - Insecure Deserialization
- 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
- Impact: External attackers can inject malicious serialized objects, potentially leading to remote code execution or system compromise.
- Remediation: Update to the latest version of Spring for Apache Kafka where this issue is fixed.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Epss score: 0.00266
- Epss percentile: 0.18541
- Assignee: [email protected]
- Published at: 2026-08-27T06:17:22Z
- Age in days: 89
- Modified at: 2026-09-01T16:07:35Z
- Patch available: yes
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-59278
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-918 | Server-Side Request Forgery |
References
| Url | Source | Tags |
|---|---|---|
| https://spring.io/security/cve-2026-59278 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vmware:spring_for_apache_kafka | >= 4.1.0, < 4.1.0.1; >= 4.0.0, < 4.0.6.1; >= 3.0.0, < 3.3.17; >= 2.9.0, < 2.9.15; < 2.8.13 | no | nvd | /v1/products/vmware/spring_for_apache_kafka |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts