Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain write access to JMS broker destination
-
DeliveryCraft malicious serialized Java object payload
-
ExploitPublish ObjectMessage to CXF service queue
-
ExecutionCXF JMS transport calls ObjectInputStream.readObject() with no type filter
-
PersistGadget chain triggers arbitrary OS command execution
-
ImpactAchieve RCE as JVM process user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires two concrete conditions: (1) the target Apache CXF deployment must be configured to use the JMS transport - services operating solely via HTTP/REST transports are not affected; and (2) the attacker must be able to place a message on the service's JMS destination, which requires network-level access to the JMS broker and sufficient broker-level permissions (which vary by broker configuration - some environments expose queues without authentication, others require credentials). For the RCE outcome specifically, a third condition applies: a deserialization gadget chain (e.g., from Apache Commons Collections, Spring, Groovy) must be present on the application's classpath. The DoS outcome does not require a gadget chain and is achievable by any party meeting conditions (1) and (2). Exploitation is NOT possible from the public internet unless the JMS broker port is directly exposed, which is non-default but occurs in misconfigured environments. Authentication requirements at the JMS broker layer are not derivable from the CVE description alone and depend on broker configuration. |
| Impact | Real-world risk is elevated for any deployment using Apache CXF's JMS transport, but is tempered by two conditional requirements: access to the JMS destination and the presence of an exploitable gadget chain on the classpath. No CVSS vector was provided by the reporter, which limits metric-based scoring to independent assessment. The vulnerability class - unrestricted Java deserialization over a message queue - is a well-established, high-severity pattern; similar issues (e.g., CVE-2015-4852 in WebLogic, CVE-2016-0638) have historically led to confirmed mass exploitation. EPSS data is not available in the provided intelligence. KEV status is negative and no public exploit code has been identified, suggesting exploitation is not yet opportunistic. However, the low complexity of crafting payloads with tooling like ysoserial, combined with the fact that enterprise JMS environments frequently carry gadget-prone libraries (Commons Collections, Spring) on their classpath, means the exploitability gap can close quickly once tooling is adapted. The DoS path (without requiring a gadget chain) is unconditional given JMS destination access, making availability impact guaranteed in affected configurations. Defenders should treat this as a genuine priority - particularly for internet-facing or partner-facing JMS endpoints - and not rely on the absence of a public PoC as a sustained safety buffer. |
| Exploit ScenarioDerived | An attacker with access to the JMS broker - whether through a compromised internal service, exposed broker port, or misconfigured ACL - publishes a crafted JMS ObjectMessage containing a malicious serialized Java object to the CXF service's queue. When CXF's JMS transport dequeues the message, it calls ObjectInputStream.readObject() without type restriction, triggering the deserialization of the payload. If Commons Collections or another gadget library is on the classpath, the gadget chain executes an OS command as the JVM process user, yielding remote code execution; even without a gadget chain, the deserialization triggers excessive memory or CPU consumption, causing denial of service. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
Unsafe deserialization in Apache CXF's JMS transport allows any party able to publish to the service's JMS destination to achieve denial of service or, where a compatible deserialization gadget chain is present on the application classpath, remote code execution within the CXF process. All Apache CXF versions prior to 4.2.3, 4.1.8, and 3.6.12 are affected when the JMS transport is in use. No public exploit code or CISA KEV listing has been identified at time of analysis, though the vulnerability class (CWE-502 with unrestricted ObjectInputStream) is well-understood and tooling such as ysoserial makes it routinely exploitable wherever gadget libraries are present.
RemediationAI
The primary remediation is to upgrade Apache CXF to version 4.2.3, 4.1.8, or 3.6.12, which disable ObjectMessage deserialization by default; the fix introduces a configuration switch to re-enable it only if operationally required. Details are in the Apache advisory at https://lists.apache.org/thread/lr5d4tg6tf7j29jmw8wt242oowonjqpx. If immediate upgrade is not feasible, compensating controls include: (1) restricting write access to the CXF JMS destination at the broker level using access control lists (ACLs) - this prevents unauthorized parties from placing messages, though it shifts trust to the broker configuration and does not protect against compromised internal senders; (2) configuring a Java serialization filter (ObjectInputFilter via JVM property jdk.serialFilter or programmatic API, available from JDK 9+) to block known gadget classes - effective against known chains but may require ongoing maintenance as new gadget classes are discovered; (3) auditing and removing unnecessary gadget-prone libraries (e.g., Commons Collections, older Spring versions) from the application classpath to eliminate RCE elevation, though DoS remains possible; and (4) placing the JMS broker behind a network boundary accessible only to trusted application tiers. None of these workarounds are as effective or low-risk as patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache CXF is an enterprise Java web services framework supporting SOAP, REST, and message-broker transports including JMS (Java Message Service). The JMS transport enables CXF services to consume messages from queues or topics on brokers such as ActiveMQ or IBM MQ. The root cause is CWE-502 (Deserialization of Untrusted Data): CXF's JMS message handler invokes native Java ObjectInputStream.readObject() on the body of any inbound JMS ObjectMessage with no type allowlist or ObjectInputFilter applied. This classical anti-pattern becomes critical when attacker-controlled serialized payloads trigger 'gadget chains' - sequences of deserialization callbacks in third-party library classes (e.g., Apache Commons Collections, Spring Framework, Groovy) that collectively produce arbitrary code execution. The fix disables ObjectMessage deserialization by default, offering a configuration opt-in. The affected CPE cpe:2.3:a:apache_software_foundation:apache_cxf:*:*:*:*:*:*:*:* spans all maintained release lines prior to the patched versions across the 3.6.x, 4.1.x, and 4.2.x branches.
Know when Apache Cxf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network vector via JMS broker; AC:H because RCE requires a gadget chain on classpath; PR:L because JMS destination access typically requires some broker-level credential.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
Apache CXF versions widely deployed in enterprise Java environments contain a critical deserialization flaw in their JMS messaging transport enabling unauthorized remote code execution. Organizations using affected versions (prior to 4.2.3, 4.1.8, or 3.6.12) must implement immediate compensating controls to prevent data breach or system compromise, as no patch is currently available.
No vendor-released patch identified at time of analysis. Interim mitigations include: (1) network segmentation restricting JMS destination publisher access to explicitly trusted accounts and IP ranges; (2) disabling JMS transport in CXF configuration if not operationally required; (3) removal or isolation of Java deserialization gadget libraries (commons-collections, ROME, Spring) from the application classpath; (4) runtime monitoring and alerting on abnormal JMS message patterns or deserialization exceptions; (5) execution of affected services with reduced privileges and in isolated container environments.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Apache Cxf
View allArbitrary certificate disclosure in Apache CXF's XKMS server lets remote attackers abuse an LDAP injection flaw (CWE-90)
Token validation bypass in Apache CXF's STSTokenValidator and Security Token Service (STS) allows unauthenticated remote
Man-in-the-middle attackers can impersonate any TLS server contacted by Apache CXF's optional Netty-based HTTP client tr
XML External Entity injection in Apache CXF's WSDL import processing allows attackers who can influence imported WSDL or
Denial of service persists in Apache CXF due to an incomplete remediation of CVE-2026-50645, allowing unauthenticated ne
XML signature wrapping in Apache CXF's JAX-RS XML Security module allows remote, unauthenticated attackers to have unsig
Trust bypass in Apache CXF's STSTokenValidator allows a remote, unauthenticated attacker to have a forged SAML assertion
A remote, unauthenticated attacker can exhaust server heap memory in Apache CXF by submitting a small (kilobyte-scale) D
Remote code execution in Apache CXF (versions before 3.6.11, 4.0.0-4.1.5, and 4.2.0) arises because the fix for CVE-2025
Authorization scope escalation in Apache CXF's OAuth2 Dynamic Client Registration endpoint allows any registering client
Open redirect in Apache CXF's OIDC relying-party component lets remote, unauthenticated attackers steer users to an atta
XML External Entity injection in Apache CXF's WS-Transfer module exposes SOAP endpoints to server-side file read and int
EUVD-2026-53854
GHSA-gvw8-rcrx-9fxx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB