Apache CXF: The authorization code hash (c_hash) is not enforced for the hybrid OIDC flow
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache CXF | 4.2.0 to before 4.2.3; 4.0.0 to before 4.1.8; before 3.6.12 | 4.2.3, 4.1.8, 3.6.12 | Patch available | CNA |
- Apache CXF VendorApache Affected 4.2.0 to before 4.2.3; 4.0.0 to before 4.1.8; before 3.6.12 Fixed in 4.2.3, 4.1.8, 3.6.12 Patch available CNA
Remediation
- Fix · CNA Apache CXF (Apache Software Foundation) Fixed in 4.2.3, 4.1.8, 3.6.12
Red Hat 1 advisory
- RHSA-2026:71675 Released 2026-09-24 · Red Hat rating ImportantRed Hat Build of Apache Camel 4.18.4 for Spring Boot release.
- Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache CXF 3.6.12, 4.1.8, 4.2.3
12 records Highest priority Priority MEDIUM 10 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-47481 Apache CXF: Unsafe deserialization of inbound JMS ObjectMessagePriority MEDIUM 51
- TI-2026-47860 Apache CXF: DefaultEncryptingCodeDataProvider allows unlimited authorization code replayPriority MEDIUM 50
- TI-2026-46751 Apache CXF: Self-issued ID token claims validation skippedPriority MEDIUM 47
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Web Server 5 | Affected | No fix planned: Out of support scope |
| Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16 | Fixed | RHSA-2026:71675 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-57817
- 2026-10-03 Alias added: GHSA-h8f8-97w2-2925
- 2026-10-16 Affected versions changed · Red Hat
References
More Apache Cxf vulnerabilities
- TI-2019-09264 Incorrect authorization in Apache CXF CVSS 3.1CRITICAL 9.8
- TI-2020-10930 Apache CXF Reflected XSS in the services listing page via the styleSheetPath CVSS 3.1MEDIUM 6.1
- TI-2010-01990 Apache CXF 2.0.x before 2.0.13, 2.1.x before 2.1.10, and 2.2.x before 2.2.9, as used in… CVSS 3.1CRITICAL 9.8
- TI-2022-22907 Apache CXF SSRF Vulnerability CVSS 3.1CRITICAL 9.8
- TI-2026-47481 Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage CVSS 3.1CRITICAL 9.8
- TI-2025-31053 Apache CXF: Untrusted JMS configuration can lead to RCE CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-57817 · CVE Program
- CVE-2026-57817 · NVD
- FIRST EPSS
- GHSA-h8f8-97w2-2925 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-57817 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences