HIGH 8.1

CVE-2026-57817

Apache CXF: The authorization code hash (c_hash) is not enforced for the hybrid OIDC flow

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.cxf » cxf-rt-rs-security-sso-oidcpreliminary
< 3.6.12>= 4.0.0, < 4.1.8>= 4.2.0, < 4.2.3
3.6.12, 4.1.8, 4.2.3

Blast radius

1affected artifacts
770affected versions
11dependent artifacts (est.)
792dependent versions

81% of the dependent artifacts (9) still pull an affected version in their latest release.

DepthDependent versions
Direct
695
2 hops
97

Most used dependents

Computed from the dependency graph of build 20261206.1433 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorygithub.com
Advisorylists.apache.org
Advisorynvd.nist.gov
Webopenwall.com
Webrepo.maven.apache.org