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.
Published: 2026-08-06
Score: 9.1 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in Apache CXF’s JwtRequestCodeFilter allows a signed request JWT to copy all of its claims into the authorization parameter map without filtering security‑sensitive fields. An attacker who can produce a correctly signed JWT—by possessing or compromising the client secret—can replace the PKCE values (code_challenge, code_challenge_method) as well as nonce and state fields originally supplied in the outer HTTP request. This undermines the integrity checks that protect OAuth 2.0 authorization code exchanges and OpenID Connect replay protection. The flaw is catalogued as CWE‑345.

Affected Systems

The issue affects Apache CXF deployments using any version prior to the security releases identified by the Apache Software Foundation. Users are advised to upgrade to Apache CXF 4.2.3, 4.1.8, or 3.6.12, which contain the fix. All earlier releases of Apache CXF that employ the JwtRequestCodeFilter are vulnerable.

Risk and Exploitability

The CVSS score for this vulnerability is 9.1, indicating high severity. The attack requires the ability to forge a validly‑signed JWT, which typically implies compromise of the client secret or possession of the signing key. While EPSS data is not available, the CVE has not been listed in CISA’s KEV catalog. The removal of PKCE integrity and replay safeguards can enable credential misuse, data tampering, or session hijack attacks, presenting a high‑severity risk for systems relying on OAuth 2.0 or OpenID Connect flows. Given the potential for privilege escalation in authentication, the vulnerability should be considered high risk.

Generated by OpenCVE AI on August 6, 2026 at 17:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache CXF to the latest patched releases: 4.2.3, 4.1.8, or 3.6.12
  • If an upgrade is not immediately possible, disable the JwtRequestCodeFilter or configure it to reject sensitive claims such as code_challenge, code_challenge_method, nonce, and state before they reach the authorization parameter map.
  • Audit and harden client secret and key management to reduce the likelihood that attackers can forge signed JWTs.

Generated by OpenCVE AI on August 6, 2026 at 17:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 06 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache cxf
Vendors & Products Apache
Apache cxf

Thu, 06 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
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.
Title Apache CXF: JwtRequestCodeFilter silently overrides outer PKCE and nonce parameters
Weaknesses CWE-345
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-07T00:01:46.574Z

Reserved: 2026-07-17T16:20:23.396Z

Link: CVE-2026-63687

cve-icon Vulnrichment

Updated: 2026-08-07T00:01:46.574Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T17:30:16Z

Weaknesses
  • CWE-345

    Insufficient Verification of Data Authenticity