Quarkus CXF 4.0.0 release notes
4.0.0 is the first release of Quarkus CXF based on Quarkus 4. Both Quarkus 4 and Quarkus CXF 4 remove functionality that was deprecated in the 3.x releases. Read the Breaking changes section carefully before upgrading.
Important dependency upgrades
-
Quarkus 3.40.0 → 4.0.0 - release notes, migration guide, changelog. Quarkus 4.0.0 is based on Vert.x 5 and Netty 4.2.
-
Apache CXF 4.2.3 → 4.2.4 - release notes, changelog, fixed CVEs (see the Apache CXF security advisories for details):
-
CVE-2026-78384 Unbounded DEFLATE decompression can exhaust memory (
org.apache.cxf:cxf-core) -
CVE-2026-97468 Weak cache keys for validated STS tokens can bypass authentication (
org.apache.cxf:cxf-rt-ws-securityandorg.apache.cxf.services.sts:cxf-services-sts-core) -
CVE-2026-97791 Shared validation state in
STSTokenValidatorcan allow untrusted SAML assertions (org.apache.cxf:cxf-rt-ws-security) -
CVE-2026-107937 Repeated or folded attachment headers can bypass size and count limits, exhausting memory (
org.apache.cxf:cxf-core) -
CVE-2026-108039 Missing default XML element and character limits can cause excessive memory and CPU usage (
org.apache.cxf:cxf-core)
-
-
Apache WSS4J 4.0.1 → 4.0.3 - release notes 4.0.2 and 4.0.3, changelog, fixed CVEs (see the Apache WSS4J security advisories for details):
-
CVE-2026-85532 Inadequate bounds on derived-key lengths and offsets
-
CVE-2026-87830 Streaming policy validation can fail to enforce element signatures and encryption
-
CVE-2026-88920 Forged SAML sender-vouches assertions can bypass authentication
-
CVE-2026-89238 Incorrect selection of a decrypted header can bypass protection requirements
-
CVE-2026-92121 Streaming signature policy checks can be bypassed after processing an STR-Transform reference
-
CVE-2026-92899 Alternate nonce encodings can bypass UsernameToken replay detection
-
CVE-2026-95616 Malformed X.509 certificate extensions can trigger excessive memory allocation
-
CVE-2026-115690 Replay protection can be bypassed by concurrent copies of a message
-
-
Apache Neethi 3.2.2 → 3.2.4 - release announcement, changelog, fixed CVEs (see the Apache Neethi security advisories for details):
-
CVE-2026-66142 Uncontrolled recursion during policy processing
-
CVE-2026-66143 Bypass of limits on normalized policy alternatives
-
CVE-2026-66144 Unbounded data read when fetching remote policy references
-
CVE-2026-91863 Stack exhaustion through policies that bypass the nesting-depth limit
-
CVE-2026-91864 Heap exhaustion through assertions that bypass element and attribute limits
-
CVE-2026-91865 Excessive expansion of repeated policy references during normalization
-
CVE-2026-91866 Unbounded computation during policy intersection
-
CVE-2026-91867 Missing total timeout when fetching remote policies
-
-
Apache XMLSchema 2.3.2 → 2.3.3 - release notes, changelog, fixed CVEs (see the Apache XMLSchema security advisories for details):
-
CVE-2026-102495 Stack exhaustion when resolving deeply nested schema imports and includes
-
CVE-2026-102496 Stack exhaustion when parsing deeply nested schema structures
-
CVE-2026-102497 Stack exhaustion when the schema walker processes cyclic definitions (
xmlschema-walker)
-
-
Woodstox 7.2.2 → 7.3.0 - release notes, changelog
-
Stax2 API 4.3.0 → 4.3.2 - changelog
The upgrades of Apache CXF, WSS4J, Neethi and XMLSchema are also available in Quarkus CXF 3.40.3 LTS.
Enhancements
#2433 New quarkus.cxf.client."client-name".vertx.http-versions option
The new option
quarkus.cxf.client."client-name".vertx.http-versions
defines the HTTP protocol versions that a SOAP client using VertxHttpClientHTTPConduit is permitted to use.
In contrast to the existing
quarkus.cxf.client."client-name".version,
it allows requiring HTTP/2 without any fallback to HTTP/1.x and using HTTP/3.
Only the following values are supported:
-
1.0- use HTTP/1.0 only -
1.1- use HTTP/1.1 only -
2- require HTTP/2 without any fallback to HTTP/1.x -
2,1.1- prefer HTTP/2 and permit a fallback to HTTP/1.1 -
3- require HTTP/3 without any fallback (experimental) -
3,2,1.1- start with HTTP/2 or HTTP/1.1 and switch to HTTP/3 once the service has advertised it (experimental)
Any other value, including other combinations and other orders of the above versions, causes an exception on client creation. The set of supported values is intentionally small and it may get extended in the future.
quarkus.cxf.client."client-name".version
keeps working as before.
It has to be left at auto when http-versions is set.
#2314 HTTP/3 support for SOAP clients (experimental)
SOAP clients using VertxHttpClientHTTPConduit can use HTTP/3,
when
quarkus.cxf.client."client-name".vertx.http-versions
is set to 3 or 3,2,1.1:
-
3makes the client use HTTP/3 for every request, without any fallback. -
3,2,1.1makes the client contact the service over TCP first and switch to HTTP/3 only after the service has advertised it viaAlt-Svc. -
The application has to depend on
io.quarkus:quarkus-http3. That extension makes the HTTP server of the application serve HTTP/3 too, see #2458 HTTP/3 for SOAP services (experimental) below. Addquarkus.http3.enabled = falsetoapplication.properties, unless you want that. -
HTTP/3 requires
https:URLs and it cannot be used through a proxy. Clients combining3or3,2,1.1with a plainhttp:URL or with a proxy are rejected.
See the documentation of
quarkus.cxf.client."client-name".vertx.http-versions
for more details and limitations.
New options for HTTP/3 connections
The connection pool size and the keep alive timeout of HTTP/3 connections are configured separately from the same settings for HTTP/1.x and HTTP/2 connections:
-
quarkus.cxf.client."client-name".vertx.connection-pool.http3-max-sizesets the maximum pool size for HTTP/3 connections. The default is1. -
quarkus.cxf.client."client-name".vertx.http3-keep-alive-timeoutsets the number of seconds after which inactive HTTP/3 connections are closed. The default is60.
The existing options vertx.connection-pool.http1-max-size, vertx.connection-pool.http2-max-size,
vertx.keep-alive-timeout (HTTP/1.x only) and vertx.http2-keep-alive-timeout have no effect on HTTP/3 connections.
#2458 HTTP/3 for SOAP services (experimental)
SOAP services exposed by Quarkus CXF can be called over HTTP/3,
if the application depends on io.quarkus:quarkus-http3, a new extension in Quarkus 4.0.0,
and if TLS is configured for the Quarkus HTTP server.
There are no new Quarkus CXF options for that.
Both JVM and native mode are supported.
Some limitations exist in the underlying projects:
-
A request exceeding
quarkus.http.limits.max-body-sizeor a stalled request body makes the server close the whole HTTP/3 connection, thus possibly aborting other requests sent through it (#2461). -
With
quarkus-micrometer, aNullPointerExceptionis logged for requests terminated before completion (#2463). -
HttpServletRequest.getLocalAddr()returns the wildcard address for requests received over HTTP/3, if the server listens on all network interfaces (#2464).
See HTTP/3 for SOAP services for more details.
TLS certificates of SOAP clients are reloaded without closing the underlying HTTP client
Before Quarkus CXF 4.0.0, when the certificates of a TLS configuration were reloaded,
the Vert.x HttpClient instances of all SOAP clients using that TLS configuration via
quarkus.cxf.client."client-name".tls-configuration-name
were closed and new ones were created upon the next request.
Since Quarkus CXF 4.0.0, the TLS options of the existing Vert.x HttpClient instances
are updated in place.
The outcome is logged for each affected SOAP client.
The HttpClient is closed only if updating its TLS options fails.
Bugfixes
#2432 NamespaceWrapper not found warning on every ?wsdl request
Before Quarkus CXF 4.0.0, every ?wsdl request for a service whose wsdl:binding
contains a JAXB extensibility element, such as <wsaw:UsingAddressing/>, logged the following warning:
WARN [org.apache.cxf.common.spi.ClassLoaderProxyService] NamespaceWrapper not found : java.lang.NullPointerException: Cannot invoke "java.lang.Class.getConstructor(java.lang.Class[])" because "cls" is null
The WSDL was served properly, but the namespace prefix mapper was not set on the JAXB marshaller.
Since Quarkus CXF 4.0.0, the warning is not logged anymore.
As a consequence of the fix, the namespace prefixes declared in the WSDL are used for JAXB extensibility elements
in the served WSDL documents
and the namespaceMap and contextualNamespaceMap set on the JAXB data binding are honored.
Special thanks to @browlook for the report and the thorough analysis.
#2445 proxy-configuration-name = none made VertxHttpClientHTTPConduit connect through a proxy at host none
Setting
quarkus.cxf.client."client-name".proxy-configuration-name
to none is the documented way to make a client ignore the default proxy configuration defined via quarkus.proxy.*.
Before Quarkus CXF 4.0.0, a client using VertxHttpClientHTTPConduit configured that way
attempted to connect through a proxy at host none and port 0
and every request failed with java.net.UnknownHostException: none.
Since Quarkus CXF 4.0.0, such a client connects to the service directly.
#2415 Late empty acknowledgement could replace the response received via a decoupled endpoint
Before Quarkus CXF 4.0.0, a client using VertxHttpClientHTTPConduit together with a decoupled endpoint,
such as a WS-ReliableMessaging client,
could rarely fail with org.apache.cxf.endpoint.ClientImpl$IllegalEmptyResponseException
and the message Response message did not contain proper response data.
That happened when the empty HTTP 202 acknowledgement of the request was processed
only after the actual response had arrived through the decoupled endpoint.
Since Quarkus CXF 4.0.0, the already received response is preserved regardless of the order
in which the two arrive.
#2394 VertxHttpClientHTTPConduit may pass an empty body to the XML parser on transport or timeout exceptions
Before Quarkus CXF 4.0.0, when reading the response body failed
due to a transport exception or a receive timeout,
the client could fail with Unexpected EOF in prolog thrown by the XML parser,
instead of the original exception.
Since Quarkus CXF 4.0.0, the original exception or the receive timeout is propagated to the caller.
quarkus.cxf.client.worker-dispatch-timeout applied also to waiting for the response
quarkus.cxf.client.worker-dispatch-timeout
is documented as a timeout within which a client call issued on Vert.x Event Loop thread
must start executing on a worker thread.
Before Quarkus CXF 4.0.0, for calls made via CxfMutinyUtils,
the timeout was canceled only when the response arrived.
Therefore, calls whose responses took longer than the timeout failed,
even though they were dispatched to a worker thread in time.
Since Quarkus CXF 4.0.0, the timeout is canceled as soon as the call starts executing on a worker thread.
The time spent waiting for the response is limited only by
quarkus.cxf.client."client-name".receive-timeout.
#2320 Methods of org.apache.cxf.ws.addressing.ContextUtils not found: $jacocoInit(…)
Before Quarkus CXF 4.0.0, 3.40.2 and 3.33.14, running @QuarkusTest tests with JaCoCo instrumentation
could fail during class transformation with the named error.
Since Quarkus CXF 4.0.0, 3.40.2 and 3.33.14, the transformer ignores synthetic methods,
allowing these tests to start.
Special thanks to @eekhoorn01 for reporting the issue.
Documentation improvements
-
The Securing service endpoints section has a new subsection about securing SOAP services with OpenID Connect (OIDC) bearer tokens. It is backed by the new OIDC integration test.
-
The new Clients with a remote WSDL section explains why a client with a remote WSDL cannot be created on Vert.x Event Loop thread and how to avoid that (#2448).
-
The new Service classes from other modules guide explains how to index service interfaces and superclasses supplied by dependencies (#1449, also available since 3.40.3).
-
The SOAP and REST endpoints in the same application guide explains how to avoid routing conflicts with Quarkus REST, RESTEasy Classic and reactive routes (also available since 3.40.3).
-
The table of unsupported CXF modules names Quarkus REST as the alternative to CXF JAX-RS.
-
The first chapters of the user guide end with consistent Further steps sections.
Deprecations
WSS4J BouncyCastleUtils deprecated
WSS4J 4.0.2 deprecates org.apache.wss4j.common.crypto.BouncyCastleUtils for removal.
Use org.apache.wss4j.common.crypto.X509KeyIdentifierUtil instead.
The old class delegates to the new one for compatibility.
See the WSS4J migration guide.
The same deprecation applies to Quarkus CXF 3.40.2 and 3.33.14.
Breaking changes
Java 21 is required
Before Quarkus CXF 4.0.0, Java 17 was the minimum Java version. Since Quarkus CXF 4.0.0, Java 21 is required both for building and running applications. This is in line with Quarkus 4, which does not support Java 17 anymore and which recommends Java 25.
Removed configuration options
The following configuration options of Quarkus CXF, deprecated in earlier releases, were removed:
| Removed | Replacement |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
client-endpoint-url is required
quarkus.cxf.client."client-name".client-endpoint-url
has no default value anymore.
Before Quarkus CXF 4.0.0, a client without client-endpoint-url was sending requests to
http://localhost:8080/{sei},
where {sei} is the fully qualified class name of the service endpoint interface in lower case.
That URL was hardly ever right and a forgotten or misspelled client-endpoint-url
resulted in connection errors or 404 responses that did not point at the actual cause.
Since Quarkus CXF 4.0.0, a client without client-endpoint-url fails when it is created
with a message like
Cannot create the client myCalculator for the service interface org.acme.CalculatorService, because quarkus.cxf.client.myCalculator.client-endpoint-url is not set
This is a breaking change:
-
Set
client-endpoint-urlfor all your clients. -
This also applies to clients whose address is set via
jakarta.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTYbefore each request. -
A client injected via
@CXFClientwithout a client name fails when it is created, unless there is aquarkus.cxf.client."client-name"configuration havingservice-interfaceset to the service endpoint interface of the client. Before Quarkus CXF 4.0.0, such a client was created with default settings and only a warning was logged.
See also client-endpoint-url is required
and #2457.
quarkus.cxf.client."client-name".alternative is not supported anymore
Before Quarkus CXF 4.0.0, a client configuration having
quarkus.cxf.client."client-name".alternative
set to true was ignored when looking up the configuration for a client
injected via @CXFClient without a client name.
That was a niche use case that can be replaced by injecting the client using an explicit client name.
Since Quarkus CXF 4.0.0:
-
The option is not used for selecting client configurations anymore.
-
The build fails, if the option is set to any value, including
false, for any client. The message of the failure names the affected clients.
This is a breaking change. Remove the option from your configuration and do one of the following:
-
Inject the client using an explicit client name, e.g.
@CXFClient("myClient")instead of@CXFClient. -
Or remove
service-interfacefrom the configurations that hadalternative = true, so that there is only onequarkus.cxf.client."client-name"havingservice-interfaceset to the given service endpoint interface. This is possible only ifCXFClientInfois not injected for those clients, because that requiresservice-interfaceto be set.
If there are multiple quarkus.cxf.client."client-name" configurations having service-interface
set to the service endpoint interface of a client injected without a client name, the build fails.
See also client-endpoint-url is required
and #2470.
Dummy logging extension no longer published
io.quarkiverse.cxf:quarkus-cxf-rt-features-logging was deprecated since Quarkus CXF 2.7.0,
when all its functionality including configuration properties moved to io.quarkiverse.cxf:quarkus-cxf.
To keep backwards compatibility, a dummy io.quarkiverse.cxf:quarkus-cxf-rt-features-logging artifact
still existed up to Quarkus CXF 3.40.* doing nothing else, but outputting a warning.
Since Quarkus CXF 4.0.0, io.quarkiverse.cxf:quarkus-cxf-rt-features-logging is no longer published.
You can simply remove the dependency from your projects,
as all its functionality has moved to io.quarkiverse.cxf:quarkus-cxf.
quarkus.package.type removed in Quarkus 4 in favor of quarkus.package.jar.type and quarkus.native.enabled
quarkus.package.type was replaced by new options in Quarkus 3.9,
but it kept working throughout Quarkus 3.x thanks to a compatibility layer.
That compatibility layer is not available in Quarkus 4 anymore, so the option has to be replaced as follows:
| Before | Since Quarkus 4.0.0 |
|---|---|
|
|
|
|
|
|
|
|
|
|
Note that quarkus.package.type is often set as a Maven property,
typically <quarkus.package.type>native</quarkus.package.type> in the native profile of pom.xml files
generated by older versions of Quarkus tooling.
Replace it by <quarkus.native.enabled>true</quarkus.native.enabled>,
as shown in the Package for running on a JVM or natively guide.
Native mode configuration changes in Quarkus 4
In addition to replacing quarkus.package.type = native by quarkus.native.enabled = true described above,
the following changes in Quarkus 4 may affect native applications:
-
quarkus.native.resources.excludeswas removed. Usereachability-metadata.jsoninstead.quarkus.native.resources.includes, the replacement of the removedquarkus.cxf.wsdl-path, keeps working. -
quarkus.native.enable-vm-inspectionwas removed in favor ofquarkus.native.monitoring.
See the Quarkus 4.0 migration guide for more details.
Vert.x HttpClient metrics http.client.queue.* replaced by http.pool.queue.*
This change comes with Quarkus 4.0.0.
It impacts applications collecting the
Vert.x HttpClient metrics
of SOAP clients using VertxHttpClientHTTPConduit, which is the default.
Before Quarkus CXF 4.0.0, the requests waiting for a connection from the connection pool of a SOAP client
were observable through the http.client.queue.delay timer and the http.client.queue.size gauge.
Both of them were tagged with clientName.
Since Quarkus CXF 4.0.0, those two meters do not exist anymore. The same information is available through the meters of the connection pool:
| Before | Since Quarkus CXF 4.0.0 |
|---|---|
|
|
|
|
-
The new meters are not tagged with
clientName. They are tagged withpool.typehaving the valuehttpand withpool.namehaving the value<host>:<port>, where<host>and<port>are the host and port of the remote service. -
Adapt your dashboards and alerts accordingly.
-
Other
http.client.*meters, such ashttp.client.requestsorhttp.client.active.connections, are still tagged withclientName.
Only 10% of traces sampled by default since Quarkus 4.0.0
This change comes with Quarkus 4.0.0 (Quarkus PR #55337)
and it impacts applications using
quarkus-cxf-integration-tracing-opentelemetry.
The following defaults were changed:
| Option | Default before Quarkus 4.0.0 | Default since Quarkus 4.0.0 |
|---|---|---|
|
|
|
|
|
|
As a consequence, only 10% of the traces of SOAP services and SOAP clients are sampled in production and test mode. In dev mode, all traces are still sampled.
To get all traces sampled again, do one of the following:
-
Set
quarkus.otel.traces.sampler = parentbased_always_onat build time -
Or keep the
parentbased_traceidratiosampler and setquarkus.otel.traces.sampler.arg = 1.0, which can be done at runtime.
There are more changes related to OpenTelemetry in Quarkus 4,
such as the default OTLP protocol changed to http/protobuf
or the changed behavior of quarkus.otel.traces.enabled = false.
See the Quarkus 4.0 migration guide for details.
Stricter XPath validation in streaming WS-SecurityPolicy
Before Quarkus CXF 4.0.0, 3.40.2 and 3.33.14,
unsupported XPath expressions in streaming WS-SecurityPolicy assertions
could silently fail to enforce the intended protection.
Since Quarkus CXF 4.0.0, 3.40.2 and 3.33.14, WSS4J rejects descendant steps (//), wildcards,
predicates and functions in these expressions.
Use simple element paths, for example /soap:Envelope/soap:Header/wsse:Security/saml2:Assertion
with the corresponding namespace declarations, instead of //saml2:Assertion.
See CVE-2026-87830 for background.
Default limits on XML parsing and decompression
Before Quarkus CXF 4.0.0, 3.40.3 and 3.33.15,
CXF imposed no default limit on the total number of XML elements,
the total number of XML characters, or the output size of CompressionUtils.inflate().
Since Quarkus CXF 4.0.0, 3.40.3 and 3.33.15, the defaults are 5,000,000 elements,
268,435,456 XML characters and 10 MiB of decompressed data, respectively.
Applications processing larger inputs may need to adjust these limits.
See CVE-2026-108039
and CVE-2026-78384 for the corresponding CXF system properties.
For native mode, those properties have to be set at build time.
Known issues
#2476 quarkus-http3 breaks responses sent over HTTP/2
This issue exists in io.quarkus:quarkus-http3 4.0.1.
It impacts only applications depending on that extension.
Since Quarkus 4.0.1, quarkus-http3 advertises HTTP/3 not only on HTTP/1.x responses, but also on HTTP/2 responses.
On HTTP/2, it does so in a way that sends the response head before the application can set the status and headers.
As a consequence of that, clients calling SOAP services over HTTP/2 receive an empty response body
or the HTTP status 500,
and IllegalStateException: Response head already sent is logged by the application.
Other parts of the application served over HTTP/2, such as REST endpoints, are affected as well.
Requests sent over HTTP/1.x and HTTP/3 work properly.
To work around the issue, add quarkus.http3.alt-svc = false to application.properties.
With this build time option, quarkus-http3 does not advertise HTTP/3 at all.
Clients can then use HTTP/3 only if they connect over HTTP/3 straight away,
such as SOAP clients having
quarkus.cxf.client."client-name".vertx.http-versions
set to 3.
See also HTTP/3 for SOAP services.