Skip to main content

Apache CXF CVE-2026-66909

| EUVDEUVD-2026-53854 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-08-06 apache GHSA-gvw8-rcrx-9fxx
9.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain write access to JMS broker destination
  2. Delivery
    Craft malicious serialized Java object payload
  3. Exploit
    Publish ObjectMessage to CXF service queue
  4. Execution
    CXF JMS transport calls ObjectInputStream.readObject() with no type filter
  5. Persist
    Gadget chain triggers arbitrary OS command execution
  6. Impact
    Achieve 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache CXF 4.2.0 <4.2.3
Apache CXF 4.0.0 <4.1.8
Apache CXF 0 <3.6.12

Affected Packages

euvd apache_cxf fix: 3.6.12, 4.1.8, 4.2.3

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

Vendor (apache) PRIMARY 9.8 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 8.1 HIGH

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 06, 2026 - 12:01 EUVD
CVE Published
Aug 06, 2026 - 10:23 cve.org
HIGH

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.7%
Top 51% exploitable
Prevalence
Medium
common enterprise Java framework, JMS transport is a subset
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-44930 CRITICAL
9.8 May 22

Arbitrary certificate disclosure in Apache CXF's XKMS server lets remote attackers abuse an LDAP injection flaw (CWE-90)

CVE-2026-97468 CRITICAL
9.1 Oct 09

Token validation bypass in Apache CXF's STSTokenValidator and Security Token Service (STS) allows unauthenticated remote

CVE-2026-107938 CRITICAL
9.1 Oct 09

Man-in-the-middle attackers can impersonate any TLS server contacted by Apache CXF's optional Netty-based HTTP client tr

CVE-2026-65432 HIGH
7.5 Aug 06

XML External Entity injection in Apache CXF's WSDL import processing allows attackers who can influence imported WSDL or

CVE-2026-64958 HIGH
7.5 Aug 06

Denial of service persists in Apache CXF due to an incomplete remediation of CVE-2026-50645, allowing unauthenticated ne

CVE-2026-100227 HIGH
7.5 Oct 09

XML signature wrapping in Apache CXF's JAX-RS XML Security module allows remote, unauthenticated attackers to have unsig

CVE-2026-97791 HIGH
7.5 Oct 09

Trust bypass in Apache CXF's STSTokenValidator allows a remote, unauthenticated attacker to have a forged SAML assertion

CVE-2026-78384 HIGH
7.5 Oct 09

A remote, unauthenticated attacker can exhaust server heap memory in Apache CXF by submitting a small (kilobyte-scale) D

CVE-2026-44417 HIGH
7.5 May 22

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

CVE-2026-61466 CRITICAL
9.1 Aug 06

Authorization scope escalation in Apache CXF's OAuth2 Dynamic Client Registration endpoint allows any registering client

CVE-2026-79650 MEDIUM
6.1 Oct 09

Open redirect in Apache CXF's OIDC relying-party component lets remote, unauthenticated attackers steer users to an atta

CVE-2026-44618 MEDIUM
5.3 May 22

XML External Entity injection in Apache CXF's WS-Transfer module exposes SOAP endpoints to server-side file read and int

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy