CVE-2026-59278
Last modified
CVE-2026-59278 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vmware | Spring For Apache Kafka | < 2.8.13 |
| Vmware | Spring For Apache Kafka | >= 2.9.0, < 2.9.15 |
| Vmware | Spring For Apache Kafka | >= 3.0.0, < 3.3.17 |
| Vmware | Spring For Apache Kafka | >= 4.0.0, < 4.0.6.1 |
| Vmware | Spring For Apache Kafka | >= 4.1.0, < 4.1.0.1 |
References
- https://spring.io/security/cve-2026-59278Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-59278?
How severe is CVE-2026-59278?
How do I fix CVE-2026-59278?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59271When the RabbitMQ management aliveness check fails, the conf…6.5
- CVE-2026-59272Any application shipping logs to RabbitMQ over TLS via the L…6.8
- CVE-2026-59274The UnZipTransformer does not limit decompressed entry size …6.5
- CVE-2026-59275A single hostile AMQP message can terminate the entire consu…4.9
- CVE-2026-59276Several components in Spring Security compare security-sensi…5.9
- CVE-2026-59277Spring Security's InetAddressMatchers utility provides match…5.3
- CVE-2026-59279The MCP Streamable HTTP server transport (WebFlux and WebMvc…7.5
- CVE-2026-5928Calling the ungetwc function on a FILE stream with wide char…7.5
- CVE-2026-59280Applications using Spring Framework's FreeMarker integration…4.3
- CVE-2026-59281Spring MVC and WebFlux applications that obtain a data-bindi…6.1
- CVE-2026-59282Spring Framework applications that use Spring's data binding…7.5
- CVE-2026-59283Applications that evaluate Spring Expression Language (SpEL)…9.1
Are you affected by CVE-2026-59278?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
