CVE-2026-63687
JSON

9.1critical

Apache CXF: JwtRequestCodeFilter silently overrides outer PKCE and nonce parameters

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.27% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache

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.

Affected

Product or packageVersionsReported by
org.apache.cxf:cxf-rt-rs-security-oauth2from 4.2.0 before 4.2.3, from 4.0.0 before 4.1.8, before 3.6.12CVE List
apache cxfbefore 3.6.12, from 4.0.0 before 4.1.8, from 4.2.0 before 4.2.3NVD

Classification

CWE-345

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

El JwtRequestCodeFilter de Apache CXF copia todas las ’claims’ de un JWT de solicitud firmado en el mapa de parámetros de autorización sin excluir los parámetros sensibles a la seguridad. Un cliente que puede producir un JWT de solicitud válidamente firmado (por ejemplo, uno cuyo ’client_secret’ es conocido o ha sido comprometido) puede así sustituir los valores de ’code_challenge’, ’code_challenge_method’, ’nonce’ y ’state’ que se establecieron en la solicitud HTTP externa, socavando la integridad de PKCE y la protección contra ataques de repetición de OpenID Connect. Se recomienda a los usuarios actualizar a las versiones 4.2.3 o 4.1.8 o 3.6.12, que corrigen este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-63687 changed 2026-08-07CVE Terms of Use
NVDCVE-2026-63687 changed 2026-10-24Public domain