Skip to main content
EPSS 0.3%top 83%

CVE-2026-59278: CWE-918 Server-Side Request Forgery (SSRF) in Spring Spring for Apache Kafka

0
Medium
Published: 08/27/2026 (08/27/2026, 05:20:36 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected software

Spring

Spring for Apache Kafka

Affected versions
>=4.0.0 <=4.0.6>=3.0.0 <=3.3.16>=2.9.0 <=2.9.14>=0 <=2.8.12=4.1.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 09:10:36 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses