CVE-2026-57817
Apache CXF: The authorization code hash (c_hash) is not enforced for the hybrid OIDC flow
Description
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 RP becomes vulnerable to Authorization Code Substitution/Injection attacks. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.
INFO
Published Date :
Aug. 6, 2026, 11:16 a.m.
Last Modified :
Aug. 6, 2026, 11:16 a.m.
Remotely Exploit :
No
Source :
[email protected]
Solution
- Upgrade Apache CXF to versions 4.2.3, 4.1.8, or 3.6.12.
- Ensure the IdP correctly implements OpenID Connect Core 1.0.
- Validate the `c_hash` parameter in the Hybrid Flow.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-57817.
| URL | Resource |
|---|---|
| https://lists.apache.org/thread/pj63c3pf7kkp1xhr53do704fwj3t3htn |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-57817 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-57817
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-57817 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-57817 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Aug. 06, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Apache Software Foundation', 'product': 'Apache CXF', 'versions': [{'status': 'affected', 'version': '4.2.0', 'lessThan': '4.2.3', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.0.0', 'lessThan': '4.1.8', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '3.6.12', 'versionType': 'semver'}], 'packageName': 'org.apache.cxf:cxf-rt-rs-security-sso-oidc', 'collectionURL': 'https://repo.maven.apache.org/maven2', 'defaultStatus': 'unaffected'}] Added Description 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 RP becomes vulnerable to Authorization Code Substitution/Injection attacks. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue. Added CWE CWE-20 Added Reference https://lists.apache.org/thread/pj63c3pf7kkp1xhr53do704fwj3t3htn