External risk intelligence

Apache CXF OIDC Authentication Bypass Vulnerability

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2026-65583

This vulnerability affects an OIDC relying party implementation within Apache CXF. OIDC relying parties are commonly deployed as web applications or API gateways that authenticate users and are frequently exposed to the public internet to facilitate external user access and identity verification.

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A vulnerability in Apache CXF's handling of security tokens could allow unauthorized access by bypassing required checks. While this specific mechanism is not enabled by default, confirming its usage within our environment is important for understanding potential risks.

  • Authentication bypass in security token validation.
  • Potential to bypass security controls, if enabled.
  • Confirm relevance and confirm exposure if used.

Attack Path

How an attacker could exploit the issue

An attacker could craft a self-issued ID token that bypasses required claim checks in Apache CXF's OIDC relying-party token validation. This bypass allows an attacker to authenticate as a legitimate user without proper verification, potentially leading to unauthorized access to protected resources. While not enabled by default, if the feature to accept self-issued ID tokens is configured, this vulnerability can be triggered.

  • Requires configurable self-issued tokens.
  • Triggers on token validation by the relying party.
  • Allows authentication bypass and unauthorized access.

Live Threat

Current exploitation, exposure, and threat context

The OIDC relying-party token validation in Apache CXF could be bypassed using specially crafted tokens. This could allow an attacker to authenticate as a valid user without meeting the required claim checks, provided that self-issued ID tokens are accepted by the validator and the attacker can craft a suitable token.

  • Authentication bypass could occur.
  • Crafted tokens could be accepted.
  • Unauthorized access to services.

Operational Fix

Recommended remediation, mitigation, and detection steps

Apache CXF's OIDC relying party implementation is affected, commonly found in web applications or API gateways exposed externally for user authentication. The initial step is to identify all instances of the affected technology, confirm their exposure and criticality, and then assign ownership for risk-based remediation planning.

  • Application and platform teams own this issue.
  • Verify OIDC relying party implementations.
  • Plan remediation based on exposure risk.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Apache CXF and how is it used?

Apache CXF is an open-source services framework used to build and develop web services. It supports various protocols and standards, including OpenID Connect (OIDC). Developers commonly integrate CXF into web applications or API gateways to handle identity verification and secure communication between systems.

What does CWE-345 mean in the context of CVE-2026-65583?

CWE-345 refers to the improper verification of cryptographic signatures or insufficient validation of data integrity. In this CVE, the software fails to properly check critical claims—such as the issuer, subject, and expiration—when processing OIDC tokens, which allows an attacker to bypass authentication security.

Do I need self-issued ID tokens enabled for this to be a risk?

Yes. This vulnerability is not triggered by default because the validator does not automatically accept self-issued ID tokens. The risk only exists if you have specifically configured your implementation to permit the use of self-issued ID tokens, creating a path for attackers to submit crafted tokens.

Why should I care about this if my app is internal?

Halo Surface Signal indicates that OIDC relying parties are often internet-facing to support external user logins. Even if your specific application is internal, it may still be accessible to a wide range of network users. You should evaluate if your configuration enables the specific token validation path affected by this bug.

How do I respond to CVE-2026-65583?

Start by identifying all services using Apache CXF that function as OIDC relying parties. Check your configurations to see if the acceptance of self-issued ID tokens is active. If your systems use this feature, prioritize updating to Apache CXF versions 4.2.3, 4.1.8, or 3.6.12 to apply the necessary security fixes.

References