Skip to content

CVE-2026-63687 Apache CXF: JwtRequestCodeFilter silently overrides outer PKCE and nonce parameters

CriticalCVSS 9.1 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
Red Hat

Description

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 or compromised) can thereby substitute the code_challenge, code_challenge_method, nonce, and state values that were set in the outer HTTP request, undermining PKCE integrity and OpenID Connect replay protection. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.

Upgrade path

4 packages: 2 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
redhat/cxf-rt-rs-security-oauth2(Red Hat apache_camel_spring_boot 4.18) All versions No fix listed No fix yet
redhat/cxf-rt-rs-security-oauth2(Red Hat jboss_fuse 7) All versions No fix listed No fix yet
apache cxf < 3.6.12; >= 4.0.0, < 4.1.8; >= 4.2.0, < 4.2.3 3.6.12, 4.1.8, 4.2.3 Fixed
org.apache.cxf/cxf-rt-rs-security-oauth2(Maven) < 3.6.12; >= 4.0.0, < 4.1.8; >= 4.2.0, < 4.2.3 3.6.12, 4.1.8, 4.2.3 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.cxf/cxf-rt-rs-security-oauth2(Maven) >= 4.2.0, < 4.2.3 4.2.3
org.apache.cxf/cxf-rt-rs-security-oauth2(Maven) >= 4.0.0, < 4.1.8 4.1.8
org.apache.cxf/cxf-rt-rs-security-oauth2(Maven) < 3.6.12 3.6.12
redhat/cxf-rt-rs-security-oauth2(Red Hat:apache_camel_spring_boot:4.18) All versions No fix listed
redhat/cxf-rt-rs-security-oauth2(Red Hat:jboss_fuse:7) All versions No fix listed
redhat/cxf(Red Hat:jboss_enterprise_application_platform:7) All versions No fix listed
redhat/cxf-rt-rs-security-oauth2(Red Hat:jboss_enterprise_web_server:5) All versions No fix listed
apache cxf < 3.6.12 3.6.12
apache cxf >= 4.0.0, < 4.1.8 4.1.8
apache cxf >= 4.2.0, < 4.2.3 4.2.3

References