CVE-2026-65583
Description
A flaw was found in Apache CXF. The OpenID Connect (OIDC) relying-party token validation in Apache CXF could accept specially crafted self-issued ID tokens. This bypasses necessary claim checks, such as issuer, subject, audience, and time, leading to an authentication bypass. This vulnerability allows an attacker to gain unauthorized access by presenting a malicious token.
Statement
Impact: IMPORTANT. A flaw was found in Apache CXF's OpenID Connect (OIDC) relying-party token validation. When the validator is configured to accept self-issued ID tokens, which is not the default behavior, required claim checks — issuer, subject, audience, and time, as well as the sub_jwk binding — are not enforced. A remote, unauthenticated attacker able to reach an affected OIDC relying party could present a specially crafted self-issued ID token to bypass authentication and gain unauthorized access, with high impact to confidentiality and integrity. Red Hat products that bundle affected versions of Apache CXF are tracked with delegated resolution: a fix is being pursued for the affected Red Hat JBoss Web Server and Red Hat build of Apache Camel streams, while the JBoss Enterprise Application Platform XP stream was determined not affected (component not present in the shipped configuration) and no fix is planned for the EAP 7.4 stream. The Red Hat severity of IMPORTANT (CVSS 7.4, AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N) is lower than the CISA score of 9.1 because exploitation requires a non-default configuration in which the relying-party validator accepts self-issued ID tokens.
Mitigation
Keep the default behavior of the Apache CXF OIDC relying-party token validator: self-issued ID tokens are not accepted by default, so deployments that have not enabled their acceptance are not exposed to this authentication bypass. Deployments that have enabled acceptance of self-issued ID tokens can mitigate the issue by disabling that configuration. As a longer-term resolution, upgrading to an upstream Apache CXF version containing the fix (4.2.3, 4.1.8, or 3.6.12, as recommended in the Apache advisory) is advised.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 7.4 | N/A | 9.1 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | High | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | High | N/A | High |
| Integrity Impact | High | N/A | High |
| Availability Impact | None | N/A | None |
Vector
Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Understanding the Weakness (CWE)
Access Control
Technical Impact: Bypass Protection Mechanism
An incorrect implementation may allow authentication to be bypassed.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.