Skip to content
OpenAdvisories

Product · Apache Software Foundation

Apache CXF

56 known vulnerabilities.

Apache CXF at a glance

Last 12 months
37
Critical · all time
13
Exploited · all time
0
Public exploit · all time
5
New vulnerabilities per month · last 12 months
0 10 20 December 2025: 0 vulnerabilities Dec 2025 January 2026: 0 vulnerabilities February 2026: 0 vulnerabilities March 2026: 0 vulnerabilities Mar April 2026: 0 vulnerabilities May 2026: 3 vulnerabilities June 2026: 11 vulnerabilities, 2 critical Jun July 2026: 0 vulnerabilities August 2026: 12 vulnerabilities, 5 critical September 2026: 0 vulnerabilities Sep October 2026: 11 vulnerabilities, 3 critical November 2026: 0 vulnerabilities
Show as table
MonthVulnerabilitiesCritical
Nov 202600
Oct 2026113
Sep 202600
Aug 2026125
Jul 202600
Jun 2026112
May 202630
Apr 202600
Mar 202600
Feb 202600
Jan 202600
Dec 202500
Nov 202500
Oct 202500
Sep 202500
Aug 202511
Jul 202510
Jun 202500
May 202500
Apr 202500
Mar 202500
Feb 202500
Jan 202510
Dec 202400

56 results · Feed

  • High 7.5

    Apache CXF: Prevent unbounded XML document size in StaxUtils by adding default element and character limits

    By default, StaxUtils placed no limit on the total number of elements or the total number of characters in an XML document. A very large request could therefore use a lot of memory and CPU during parsing, especially where CXF builds a DOM from the input (for …

  • Critical 9.1

    Apache CXF: The Netty HTTP client transport does not perform TLS hostname verification.

    In Apache CXF, the Netty-based HTTP client transport (cxf-rt-transports-http-netty-client) did not verify that the hostname in the server’s TLS certificate matched the host being called. This applied over both HTTP/1.1 and HTTP/2, even when disableCNCheck was…

  • High 7.5

    Apache CXF: The attachment header size and count limits can be bypassed, which allows denial of service through memory exhaustion.

    In Apache CXF, the parser for multipart/MTOM attachment part headers did not fully enforce the configured attachment-max-header-size (default 300 characters) and attachment-headers-max-count (default 500) limits. The size limit was applied only to each physic…

  • High 7.5

    Apache CXF: XML Signature wrapping in JAX-RS XML Security

    Improper Verification of Cryptographic Signature vulnerability in Apache CXF's JAX-RS XML Security module. The JAX-RS XML Signature interceptors (XmlSigInHandler, XmlSigInInterceptor and the streaming XmlSecInInterceptor) did not ensure that the XML passed to…

  • High 7.5

    Apache CXF: STSTokenValidator can accept untrusted SAML assertions because it shares validation state between requests

    In Apache CXF, STSTokenValidator checks whether a SAML assertion is signed by a trusted certificate before deciding to send it to the STS. That result was stored in one object shared by all requests, so one request could read another's result. A remote, unaut…

  • Critical 9.1

    Apache CXF: Authentication bypass via weak cache keys for validated STS tokens

    Apache CXF's STSTokenValidator and Security Token Service (STS) cached validated security tokens under a non-cryptographic 32-bit hash of the token (Java Arrays.hashCode/hashCode()), and treated a cache hit as proof that the presented token had already been v…

  • High 7.5

    Apache CXF: FIQL Query Parser Denial of Service

    Apache CXF's FIQL query parser has a vulnerability in how it searches for operators in query expressions. The search pattern can get stuck trying many combinations when it encounters a long string without an operator, causing the parser to consume excessive C…

  • Medium 6.1

    Apache CXF: OIDC RP Open Redirect

    Apache CXF’s OIDC relying-party component could redirect users to an attacker-controlled URL after successful authentication. The issue occurs because attacker-controlled state parameters are preserved and later used as redirect targets without validating tha…

  • High 7.5

    Apache CXF: Unbounded DEFLATE Decompression in CXF JOSE/JWE and SAML Processing (Decompression Bomb)

    CompressionUtils.inflate() decompressed attacker-controlled DEFLATE data with no output-size cap. A small (~KB) crafted payload could expand to gigabytes on the heap. Reachable via JWE decryption when zip=DEF (e.g. JoseSessionTokenProvider with RSA-OAEP key w…

  • High 8.1

    Apache CXF: JPA authorization-code consume is non-atomic

    Improper enforcement of single-use authorization code semantics in the JPA OAuth2 authorization code grant provider in Apache CXFallows a remote attacker to obtain multiple valid access tokens from a single authorization code via concurrent token exchange req…

  • Critical 9.1

    Apache CXF: Inoperative max_age authentication-freshness check in OidcClientCodeRequestFilter

    The max_age authentication-freshness check in OidcClientCodeRequestFilter was inoperative due to a milliseconds/seconds unit mismatch and an inverted comparison polarity. Any relying party using setMaxAgeOffset to enforce re-authentication would silently acce…

  • High 8.1

    Apache CXF: OAuth2 Authorization Code Replay via TOCTOU in JCacheCodeDataProvider

    A race condition in JCacheCodeDataProvider allows an attacker to redeem a single authorization code multiple times via concurrent requests, resulting in the issuance of multiple distinct, valid access tokens. Users are recommended to upgrade to versions 4.2.3…

  • Critical 9.1

    Apache CXF: OAuth2 Dynamic Client Registration Scope Self-Escalation

    In Apache CXF's OAuth2 Dynamic Client Registration endpoint, the authorization server accepts and stores the `scope` value supplied in the client registration request verbatim, without validating it against an AS-defined allowlist. This could lead to a client…

  • Critical 9.1

    Apache CXF: JwtRequestCodeFilter silently overrides outer PKCE and nonce parameters

    Apache CXF's JwtRequestCodeFilter copies all claims from a signed request JWT into the authorization parameter map without excluding security-sensitive parameters. A client that can produce a validly-signed request JWT (e.g., one whose client_secret is known …

  • Critical 9.1

    Apache CXF: Self-issued ID token claims validation skipped

    Apache CXF’s OIDC relying-party token validation could accept self-issued ID tokens without enforcing required claim checks (issuer/subject/audience/time and sub_jwk binding), enabling authentication bypass with crafted tokens. However, note that self-issued …

  • Critical 9.8

    Apache CXF: DefaultEncryptingCodeDataProvider allows unlimited authorization code replay

    In Apache CXF's DefaultEncryptingCodeDataProvider, a captured authorization code can be redeemed an unlimited number of times due to a flaw in the implementation of the removeCodeGrant functionality. This violates the RFC requirement that "The authorization c…

  • High 7.5

    Apache CXF: Revocation bypass in DefaultEncryptingOAuthDataProvider

    In Apache CXF's DefaultEncryptingOAuthDataProvider, revoked access tokens still decrypt successfully, and TokenIntrospectionService reports active:true. The same applies to refresh tokens. This violates the RFC stipulations that 'The authorization server MUST…

  • High 7.5

    Apache CXF: XXE via WSDL/XSD import parsing

    Apache CXF reads a top-level WSDL through its hardened StaxUtils path, which disables XML DTDs and external entities. However, any <wsdl:import> or <xsd:import> referenced from that top-level WSDL is handed off to WSDL4J, which does not disable DOCTYPE declar…

  • High 8.1

    Apache CXF: The authorization code hash (c_hash) is not enforced for the hybrid OIDC flow

    The OpenID Connect Core 1.0 specification mandates that the RP MUST validate the `c_hash` parameter when operating in the Hybrid Flow. If an Apache CXF RP is integrated with a non-compliant or misconfigured Identity Provider (IdP) that omits the `c_hash`, the…

  • Critical 9.8

    Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage

    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 ob…

  • High 7.5

    Apache CXF: Denial of service via message header attachments

    An incomplete fix for CVE-2026-50645 means that it is still possible to perform a denial of service attack on Apache CXF by sending a message with many attachment headers. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this i…

  • High 7.5

    Apache CXF: No default restriction on the amount of form parameters per message

    Apache CXF allows to set a limit on the number of form parameters in a JAX-RS message via the "maxFormParameterCount" configuration option. However, no default limit is set which may lead to denial of service attacks when processing  requests with very large …

  • High 7.5

    Apache CXF: Denial of Service attack via large attachments

    Apache CXF allows to control the maximum attachment size via the "attachment-max-size". Prior to Apache CXF 4.2.3 and 4.1.8 and 3.6.12, there was no default placed on this size, meaning that a denial of service attack is possible if the user doesn't explicitl…

  • High 7.5

    Apache CXF: No restriction on attachment headers per message

    There is no restriction on the amount of attachment headers that a message can contain when being deserialized by Apache CXF, which can lead to uncontrolled resource consumption or a denial of service attack. Users are recommended to upgrade to versions 4.2.2…

  • Medium 6.5

    Apache CXF: WS JSON request filter trusts metadata from an unvalidated first signature entry

    A vulnerability in Apache CXF's JwsJsonContainerRequestFilter can be exploited to cause CXF to process metadata that was not authenticated by the accepted signature. This can bypass the application's assumption that accepted `Content-Type` or protected HTTP-h…

  • High 8.1

    Apache CXF: JNDI Injection vulnerability in DispatchMDBMessageListenerImpl

    A JNDI Injection vulnerability has been discovered in Apache CXF's JCA integration module, which can allow for code execution, if an attacker is able to manipulate the JCA deployment descriptor (ra.xml) or runtime activation parameters. Users are recommended …

  • High 8.1

    Apache CXF: JNDI Injection Vulnerability in JMSConfigFactory

    A further incomplete fix for a previous advisory CVE-2026-44417 (Untrusted JMS configuration can lead to RCE) for Apache CXF has been identified, which can allow code execution capabilities, if untrusted users are allowed to configure JMS for Apache CXF. User…

  • High 7.4

    Apache CXF: OAuth2: TOCTOU Race Condition in Refresh Token Processing

    A race condition in AbstractOAuthDataProvider allows concurrent requests using the same Refresh Token to bypass single-use semantics and generate multiple valid Access Tokens, when 'recycleRefreshTokens' is set to false. A leaked refresh token can be replayed…

  • Medium 6.5

    Apache CXF: OAuth2: HTTP Response Splitting via WWW-Authenticate Realm Injection

    A CRLF injection vulnerability exists in the OAuth2 AuthorizationUtils class. When constructing the WWW-Authenticate response header, the 'realm' parameter is concatenated without sanitizing Carriage Return (CR) and Line Feed (LF) characters. If an attacker c…

  • Medium 5.3

    Apache CXF: OAuth2: Log Injection via Unsanitized Client Identifier

    The 'clientId' parameter from incoming HTTP requests is directly concatenated into OAuth2 server log warning messages without sanitizing control characters. This allows an attacker to inject arbitrary content, including fake log entries, into the server's log…

  • Critical 9.8

    Apache CXF: OAuth2: Inverted IP Binding Check Defeats Security Control

    A logic error in OAuthRequestFilter rejects legitimate requests originating from the bound IP address, while blindly allowing requests from any other IP address. Enabling this security feature inadvertently creates an inverse security check. Users are recomme…

  • Critical 9.1

    Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token Validator

    The JwtAccessTokenValidator class in Apache CXF fails to validate the 'aud' (Audience) claims of incoming JWT access tokens. This allows a JWT issued for one Resource Server to be successfully replayed against a completely different Resource Server, leading t…

  • Medium 6.5

    Apache CXF: XML External Entity (XXE) Injection in W3CMultiSchemaFactory and EndpointReferenceUtils

    Apache CXF's EndpointReferenceUtils and W3CMultiSchemaFactory classes construct a SAXParserFactory without the necessary JAXP hardening configurations, enabling out-of-band (OOB) external entity resolution. Users are recommended to upgrade to versions 4.2.2 o…

  • Medium 4.8

    Apache CXF: Authentication Bypass in OAuth2 TokenIntrospectionService

    An authentication bypass vulnerability exists in the OAuth2 TokenIntrospectionService in Apache CXF. Due to a missing 'throw' keyword in the security context check, the introspection endpoint (/services/oauth2/introspect) can be accessed by any unauthenticate…

  • High 7.5

    Apache CXF: Incomplete fix for CVE-2025-48913 (Untrusted JMS configuration can lead to RCE)

    The fix for CVE-2025-48913: Apache CXF: Untrusted JMS configuration can lead to RCE was not complete, meaning that another path in the code might lead to code execution capabilities, if untrusted users are allowed to configure JMS for Apache CXF. Users are re…

  • Medium 5.3

    Apache CXF: XXE vulnerability in WS-Transfer functionality

    Insecure XML parser configuration in Apache CXF's WS-Transfer module may allow attackers to perform XXE attacks. Users are recommended to upgrade to versions 4.2.1, 4.1.6 or 3.6.11, which fix this issue.

  • Medium 4.3

    Apache CXF: LDAP Injection vulnerability in XKMS LDAP Repository

    An LDAP injection vulnerability in the LDAP Certificate repository of the XKMS server in Apache CXF may allow an attacker to retrieve arbitrary certificates from the repository.  Users are recommended to upgrade to versions 4.2.1, 4.1.6 or 3.6.11, which fix t…

  • Critical 9.8

    Apache CXF: Untrusted JMS configuration can lead to RCE

    If untrusted users are allowed to configure JMS for Apache CXF, previously they could use RMI or LDAP URLs, potentially leading to code execution capabilities. This interface is now restricted to reject those protocols, removing this possibility. Users are re…

  • Medium 5.6

    Apache CXF: Denial of Service and sensitive data exposure in logs

    Apache CXF stores large stream based messages as temporary files on the local filesystem. A bug was introduced which means that the entire temporary file is read into memory and then logged. An attacker might be able to exploit this to cause a denial of servi…

  • Medium 5.9

    Apache CXF: Denial of Service vulnerability with temporary files

    A potential denial of service vulnerability is present in versions of Apache CXF before 3.5.10, 3.6.5 and 4.0.6. In some edge cases, the CachedOutputStream instances may not be closed and, if backed by temporary files, may fill up the file system (it applies …