What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache CXF 3.6.12, 4.1.8, 4.2.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-66909 or the next vulnerability affects your stack