Wavense
VulnerabilitiesVendorsMy Stack
Wavense© 2026 Wavense. All rights reserved.Privacy PolicyTerms & Conditions
Vulnerabilities/CVE-2026-41731
Vulnerability dossier

CVE-2026-41731

Spring for Apache Kafka Arbitrary JDK Type Deserialization

VendorvmwarePublishedJun 10, 2026SourceNVDWeaknessCWE-502
Plan a fix

Severe, but no confirmed exploitation yet. Schedule remediation in your next patch cycle and apply mitigations if you're exposed.

Severity
High · 8.1
CVSS base score
Exploitation
Not observed
No known exploitation or public exploit
Exploit likelihood
0.65%
Chance of exploitation in 30 days (EPSS)
Exposure
Internet-facing
Exploitable remotely, no login, no user action
01

What's the risk?

An unauthenticated attacker, remotely over the network, with no user interaction, can fully compromise the system — steal data, tamper with it and take it offline.

JsonKafkaHeaderMapper and the deprecated DefaultKafkaHeaderMapper matched type headers against trusted packages using a prefix check, meaning that trusting any package implicitly trusted all of its subpackages. Combined with Jackson's default bean deserialization, a producer could supply crafted header values that caused the consumer to deserialize arbitrary JDK types. Affected versions: Spring for Apache Kafka 4.0.0 through 4.0.5; 3.3.0 through 3.3.15; 3.2.0 through 3.2.13; 2.9.0 through 2.9.13; 2.8.0 through 2.8.11.

How it's exploitedMITRE ATT&CK · inferred from weakness & vector
Initial Access
T1190Exploit Public-Facing Application
Execution
T1203Exploitation for Client Execution

Inferred from the weakness type (CWE) and how the flaw is reached — the techniques an attacker would chain to exploit this. Real-world corroboration appears here as threat intel is folded in.

02

Are we affected?

7
  • Affectedredhat · fuse7.0.0
  • Affectedredhat · jboss_enterprise_application_platform_expansion_packall versions
  • Affectedvmware · spring_for_apache_kafka≥ 3.2.0, < 3.2.14↑ fixed 3.2.14
  • Affectedvmware · spring_for_apache_kafka≥ 2.8.0, < 2.8.12↑ fixed 2.8.12
  • Affectedvmware · spring_for_apache_kafka≥ 4.0.0, < 4.0.5.1↑ fixed 4.0.5.1
  • Affectedvmware · spring_for_apache_kafka≥ 3.3.0, < 3.3.15.1↑ fixed 3.3.15.1
  • Affectedvmware · spring_for_apache_kafka≥ 2.9.0, < 2.9.14↑ fixed 2.9.14
  • 03

    What to do

    Generated by Wavense from the CVE record — an immediate mitigation and the permanent fix.

    1. !

      Mitigate now

      Before patching, reconfigure Kafka header mappers to use an explicit allow-list for specific trusted classes rather than relying on broad package prefix checks, if the configuration permits. Implement strict input validation on all incoming Kafka header values, especially for type-related headers, to filter out any suspicious or unexpected content. Additionally, deploy network segmentation or access control lists to restrict Kafka producer access to only trusted and authenticated sources.

    2. ✓

      Permanent fix

      The permanent resolution requires upgrading Spring for Apache Kafka to a patched version that addresses the insecure prefix matching vulnerability. Affected users should upgrade to Spring for Apache Kafka 4.0.6+, 3.3.16+, 3.2.14+, 2.9.14+, or 2.8.12+. These updates ensure proper validation of type headers, preventing arbitrary JDK type deserialization and mitigating the risk of RCE.

    Technical details— weakness, CVSS vector & calculator, related CVEs

    Business impact

    A malicious Kafka producer can supply crafted header values that exploit the prefix-based trust mechanism in header mappers, leading to the consumer deserializing arbitrary JDK types. This can result in remote code execution (RCE), denial of service, or information disclosure on the consumer application. Such an exploit severely compromises the integrity, confidentiality, and availability of the affected system and its data.

    Weakness

    1
    CWE-502Common Weakness Enumeration · MITRE definition

    CVSS 3.1 details

    CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    0.0
    / 10.0 base
    High severity
    CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Exploitability metrics
    Attack VectorAV
    Remotely exploitable across a network
    Attack ComplexityAC
    Depends on conditions beyond attacker control
    Privileges RequiredPR
    No authorization needed
    User InteractionUI
    No user participation needed
    Impact metrics
    ScopeS
    Impact confined to the vulnerable component
    ConfidentialityC
    Total loss of confidentiality
    IntegrityI
    Total loss of integrity
    AvailabilityA
    Total loss of availability

    Related vulnerabilities

    Other CVEs affecting fuse

    NVD
    9.8Critical
    CVE-2016-4437KEV⚙ WeaponizedExploit likely

    Apache Shiro before 1.2.5, when a cipher key has not been configured for the "remember me" feature, allows remote attackers to execute arbitrary code or bypass intended access restrictions via an unspecified request parameter.

    apacheCWE-321NetworkLow effortNo authNo interactionCIA
    2016-06-07
    NVD
    9.8Critical
    CVE-2015-1427KEV⚙ WeaponizedExploit likely

    The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the sandbox protection mechanism and execute arbitrary shell commands via a crafted script.

    elasticNetworkLow effortNo authNo interactionCIA
    2015-02-17
    NVD
    9.8Critical
    CVE-2017-5645Exploit likely

    In Apache Log4j 2.x before 2.8.2, when using the TCP socket server or UDP socket server to receive serialized log events from another application, a specially crafted binary payload can be sent that, when deserialized, can execute arbitrary code.

    oracleCWE-502Deserialization of Untrusted DataNetworkLow effortNo authNo interactionCIA
    2017-04-17
    NVD
    9.6Critical
    CVE-2025-12543

    A flaw was found in the Undertow HTTP server core, which is used in WildFly, JBoss EAP, and other Java applications. The Undertow library fails to properly validate the Host header in incoming HTTP requests.As a result, requests containing malformed or malicious Host headers are processed without rejection, enabling attackers to poison caches, perform internal network scans, or hijack user sessions.

    redhatCWE-20Improper Input ValidationNetworkLow effortNo authUser neededCIA
    2026-01-07
    NVD
    8.7High
    CVE-2026-28369

    A flaw was found in Undertow. When Undertow receives an HTTP request where the first header line starts with one or more spaces, it incorrectly processes the request by stripping these leading spaces. This behavior, which violates HTTP standards, can be exploited by a remote attacker to perform request smuggling. Request smuggling allows an attacker to bypass security mechanisms, access restricted information, or manipulate web caches, potentially leading to unauthorized actions or data exposure.

    redhatCWE-444HTTP Request SmugglingNetworkHigh effortNo authNo interactionCIA
    2026-03-27
    NVD
    8.7High
    CVE-2026-28368

    A flaw was found in Undertow. This vulnerability allows a remote attacker to construct specially crafted requests where header names are parsed differently by Undertow compared to upstream proxies. This discrepancy in header interpretation can be exploited to launch request smuggling attacks, potentially bypassing security controls and accessing unauthorized resources.

    redhatCWE-444HTTP Request SmugglingNetworkHigh effortNo authNo interactionCIA
    2026-03-27
    NVD
    8.7High
    CVE-2026-28367

    A flaw was found in Undertow. A remote attacker can exploit this vulnerability by sending `\r\r\r` as a header block terminator. This can be used for request smuggling with certain proxy servers, such as older versions of Apache Traffic Server and Google Cloud Classic Application Load Balancer, potentially leading to unauthorized access or manipulation of web requests.

    redhatCWE-444HTTP Request SmugglingNetworkHigh effortNo authNo interactionCIA
    2026-03-27
    NVD
    8.1High
    CVE-2026-16102

    A flaw was found in the Dynamic Client Registration (DCR) component of Keycloak, an identity and access management solution. The default DCR policy fails to properly validate the claim path for User Property mappers, allowing them to write values to sensitive internal claim locations. An attacker with a standard user account and a limited Initial Access Token can exploit this to forge administrative roles in their access token. This allows the attacker to take over other clients, steal confidential secrets, and potentially gain full administrative control over the realm.

    redhatCWE-551NetworkLow effortLow privNo interactionCIA
    2026-08-05
    0.0
    / 10.0 base
    High severity
    Key facts
    CVE ID
    CVE-2026-41731
    Published
    Jun 10, 2026
    Last modified
    Aug 5, 2026
    CVSS
    8.1 (v3.1)
    EPSS
    0.65%
    In CISA KEV
    No
    Confidence
    92/100
    Weakness
    CWE-502
    Fixed in
    3.2.14, 2.8.12, 4.0.5.1…
    Timeline
    1. Jun 10, 2026Published to NVDNVD
    2. Aug 5, 2026Record last modifiedNVD
    3. Aug 19, 2026AI analysis generatedWavense
    View on NVD