External risk intelligence

Apache CXF JWT Filter Flaw Undermines PKCE and OpenID Connect Integrity.

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2026-63687

The vulnerability exists in an OpenID Connect/OAuth2 filter within Apache CXF. Such middleware is commonly deployed as part of public-facing identity services, API gateways, or authentication endpoints that must be accessible over the internet to perform their intended function of validating external user and client requests.

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory concerns a vulnerability in Apache CXF, a widely used framework for developing and consuming web services. The issue allows an attacker with a compromised secret to potentially bypass security measures, undermining the integrity of authentication flows and replay protection. While the specific impact depends on how CXF is deployed, it could affect systems handling sensitive authentication and authorization information.

  • Allows forged authentication by bypassing security checks.
  • Matters for protecting user sessions and preventing repeated attacks.
  • Confirm if Apache CXF is used in sensitive authentication paths.

Attack Path

How an attacker could exploit the issue

An attacker with a validly signed JWT, which can be obtained if a client secret is compromised, can exploit a flaw in Apache CXF's `JwtRequestCodeFilter`. This filter incorrectly copies all claims from the JWT into the authorization parameter map without excluding security-sensitive information. By doing so, an attacker can override parameters crucial for protocols like PKCE and OpenID Connect, potentially undermining security measures and enabling replay attacks.

  • Attacker must possess a valid signed JWT.
  • Filter copies sensitive claims into authorization map.
  • Undermines PKCE and OpenID Connect security.

Live Threat

Current exploitation, exposure, and threat context

When supported by the advisory, a client with a compromised or known `client_secret` could substitute security-sensitive parameters in a signed request JWT. This could undermine the integrity of Proof Key for Code Exchange (PKCE) and OpenID Connect replay protection.

  • PKCE integrity and replay protection.
  • Client with valid signature submits modified parameters.
  • Compromised authentication flows.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability in Apache CXF's JWT processing impacts authentication flows, potentially affecting teams responsible for identity and access management, API gateways, and application platforms. The first step is to identify all instances of the affected component, assess their exposure and business criticality, and locate the accountable system owner to plan remediation.

  • Ownership: Identity and API Gateway teams.
  • Verify: Reachability and business criticality.
  • Action: Plan vendor coordination and upgrades.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Apache CXF and how is it used?

Apache CXF is an open-source framework used by developers to build and manage web services. It simplifies how applications communicate by supporting various protocols like SOAP and REST. It is frequently employed in enterprise environments to handle complex middleware tasks, including authentication and authorization for API gateways and identity services that process web requests.

How does CVE-2026-63687 weaken security?

This vulnerability involves Improper Verification of Intent (CWE-345). The affected filter blindly trusts information inside a signed JWT and copies it into the system's internal authorization map. By failing to strip out security-sensitive parameters, the software allows these injected values to overwrite legitimate authentication data, effectively tricking the system into bypassing critical integrity checks like PKCE or replay protections.

What must an attacker do to trigger this flaw?

To exploit this, an attacker needs the ability to produce or provide a validly-signed request JWT. This generally requires access to a client_secret. The vulnerability is not triggered by simply sending malformed data; it specifically relies on the system's improper handling of a correctly signed token that contains manipulated, security-sensitive parameters.

Is my system at risk if it uses Apache CXF?

According to Halo Surface Signal, this vulnerability is particularly relevant for public-facing identity services, API gateways, and authentication endpoints. Because these components are designed to be accessible over the internet to validate external requests, they are in the highest category of interest for this issue. If your instance is strictly internal and not handling external authentication traffic, the immediate impact may be lower.

How should I respond to this Apache CXF advisory?

The priority is to locate all applications using Apache CXF and identify those processing authentication flows. Once identified, coordinate with your system owners to verify their specific configurations. Your primary goal is to schedule an update to the patched versions provided by the vendor (4.2.3, 4.1.8, or 3.6.12) to ensure the JWT processing logic is correctly secured against parameter injection.

References