CVE-2026-66909: Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage

Published Aug 6, 2026
·
Updated

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.

Affected Software

4 affected components
Apache Apache CXF><=
Apache CXF<3.6.12
Apache CXF>=4.0.0<4.1.8
Apache CXF>=4.2.0<4.2.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache CXF to a version that resolves this vulnerability.

    Fixed in 4.2.3
  2. Upgrade

    Upgrade Apache CXF to a version that resolves this vulnerability.

    Fixed in 4.1.8
  3. Upgrade

    Upgrade Apache CXF to a version that resolves this vulnerability.

    Fixed in 3.6.12
  4. Configuration

    Ensure CXF JMS transport does not deserialize inbound JMS ObjectMessage bodies using native Java deserialization; the fix disables ObjectMessage deserialization by default and provides a configuration switch to re-enable it only if strictly required.

    Apache CXF JMS transport ObjectMessage deserialization = disabled by default

Event History

Aug 6, 2026
CVE Published
via MITRE·10:23 AM
Data Sourced
via MITRE·10:23 AM
DescriptionWeakness
Data Sourced
via NVD·11:16 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-66909?

CVE-2026-66909 has a risk score of 77, indicating it is a high severity vulnerability.

2

How do I fix CVE-2026-66909?

To mitigate CVE-2026-66909, implement strict type checking and validation for the deserialization process in Apache CXF.

3

What effect could CVE-2026-66909 have on an application?

CVE-2026-66909 allows attackers to perform denial of service or execute malicious code through crafted JMS ObjectMessages.

4

Which versions of Apache CXF are affected by CVE-2026-66909?

CVE-2026-66909 affects all versions of Apache CXF that utilize JMS transport for message deserialization.

5

Is there a workaround for CVE-2026-66909?

A potential workaround for CVE-2026-66909 is to disable the acceptance of ObjectMessages or restrict the JMS message sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203