Description
Apache CXF's JMS transport deserializes the body of any inbound JMS ObjectMessage using native Java deserialization, with no type restrictions in place. Any attacker able to place a message on the service's JMS destination can submit a malicious serialized object, leading to denial of service or, if a suitable gadget class is on the classpath, remote code execution. The fix disables ObjectMessage deserialization by default, with a configuration switch to re-enable it if needed. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.
Published: 2026-08-06
Score: 9.8 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Apache CXF’s JMS transport naïvely deserializes the body of any inbound JMS ObjectMessage using native Java deserialization without type checks. This flaw allows an attacker who can place a message on the service’s JMS destination to inject a malicious serialized object. Depending on the classpath contents, the payload can either trigger a denial‑of‑service or execute arbitrary code on the host. The presence of suitable gadget classes is a prerequisite for remote code execution but even without them a non‑replicated attacker can still crash the service by corrupting its state.

Affected Systems

The issue affects installations of Apache CXF that rely on the JMS transport. The Apache Software Foundation has released mitigations in version 4.2.3, 4.1.8 and 3.6.12, which disable ObjectMessage deserialization by default and provide a configuration option to re‑enable it if required.

Risk and Exploitability

The EPSS score for this vulnerability is not available, and it is not listed in the CISA KEV catalog, so publicly documented exploitation data is missing. However, the opportunity to deliver a serialized payload via JMS is accessible when an application publishes or consumes messages, making the attack vector plausible in many deployments. Although an exact CVSS score is not supplied, the potential for remote code execution implies a high severity. Administrators should treat the vulnerability with urgency until a patch is available or a mitigation is applied.

Generated by OpenCVE AI on August 6, 2026 at 12:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache CXF to version 4.2.3, 4.1.8 or 3.6.12 to apply the vendor fix that disables ObjectMessage deserialization by default.
  • If an upgrade is not immediately possible, reconfigure the JMS transport to disable ObjectMessage deserialization through the provided configuration switch.
  • Ensure that any unused or potentially dangerous gadget classes are removed from the application’s classpath and validate that the application does not accept JMS ObjectMessages from untrusted sources.

Generated by OpenCVE AI on August 6, 2026 at 12:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 06 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Description Apache CXF's JMS transport deserializes the body of any inbound JMS ObjectMessage using native Java deserialization, with no type restrictions in place. Any attacker able to place a message on the service's JMS destination can submit a malicious serialized object, leading to denial of service or, if a suitable gadget class is on the classpath, remote code execution. The fix disables ObjectMessage deserialization by default, with a configuration switch to re-enable it if needed. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.
Title Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage
Weaknesses CWE-502
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-06T15:09:42.879Z

Reserved: 2026-07-28T09:44:19.058Z

Link: CVE-2026-66909

cve-icon Vulnrichment

Updated: 2026-08-06T15:09:38.543Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T12:30:03Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data