CVE-2026-59278: CWE-918 Server-Side Request Forgery (SSRF) in Spring Spring for Apache Kafka
Description
CVE-2026-59278 is a Server-Side Request Forgery (SSRF) vulnerability in Spring for Apache Kafka. The issue arises because JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper include java.net in their default trusted packages list. This default configuration allows an external Kafka producer to inject a java.net.InetAddress type via the spring_json_header_types message header. The vulnerability affects multiple versions of Spring for Apache Kafka, including 4.1.0, 4.0.0 through 4.0.6, 3.0.0 through 3.3.16, 2.9.0 through 2.9.14, and 2.8.12 and earlier. The CVSS score is 6.5, indicating a medium severity level.
CVSS v3.1
Score 6.5medium
Affected software
Spring
Spring for Apache Kafka
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Spring for Apache Kafka's JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper components include java.net in their default trusted packages list. When these mappers are used, which is the default for all @KafkaListener consumers, an external Kafka producer can exploit this by injecting a java.net.InetAddress object via the spring_json_header_types message header. This can lead to Server-Side Request Forgery (SSRF) attacks. The vulnerability affects multiple versions ranging from 2.8.12 and earlier up to 4.1.0. No official patch or remediation level has been published yet, and no known exploits are reported in the wild.
Potential Impact
An attacker controlling an external Kafka producer can inject a java.net.InetAddress type via message headers, potentially enabling SSRF attacks. This could allow the attacker to make the server perform unintended network requests, possibly leading to information disclosure or other impacts related to SSRF. The CVSS score of 6.5 reflects a medium impact with low complexity and no required privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider reviewing and restricting the trusted packages list in JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper configurations to exclude java.net or disable deserialization of untrusted types in message headers. Avoid using default configurations that trust java.net packages if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-07-04T18:13:09.973Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a8fd7c0acd9273b49e17583
Added to database: 08/27/2026, 06:22:56 UTC
Last enriched: 09/10/2026, 09:10:36 UTC
Last updated: 10/11/2026, 18:48:20 UTC
Views: 105
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.