Skip to main content
Vulnerability Database/CVE-2026-105118

CVE-2026-105118: OpenAM Open Redirect Vulnerability

CVE-2026-105118 is an open redirect flaw in OpenAM that lets attackers redirect users via unverified tokens at the OAuth2 endpoint. This vulnerability enables phishing attacks. This article covers technical details, affected versions, and fixes.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-105118 Overview

CVE-2026-105118 is an open redirect vulnerability in OpenAM versions before 16.1.3. The flaw resides in the /oauth2/connect/endSession endpoint, which accepts an unverified id_token_hint parameter. Unauthenticated attackers can forge a token hint naming any realm client and redirect victims to any registered post-logout URI. The vulnerability abuses the trust associated with the OpenAM host, making it suitable for phishing campaigns that borrow the identity provider's reputation. The underlying weakness is tracked as [CWE-347: Improper Verification of Cryptographic Signature].

Critical Impact

Attackers can craft logout URLs that silently redirect users from a trusted OpenAM host to attacker-controlled destinations, enabling credential-harvesting phishing.

Affected Products

  • Open Identity Platform OpenAM versions prior to 16.1.3
  • OpenAM deployments exposing the /oauth2/connect/endSession endpoint
  • OAuth2/OIDC realms with registered post-logout redirect URIs

Discovery Timeline

  • 2026-10-03 - CVE-2026-105118 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-105118

Vulnerability Analysis

The vulnerability affects the OpenID Connect (OIDC) end-session endpoint exposed by OpenAM. According to the published advisory, the endpoint accepts an id_token_hint parameter during logout flows but does not verify the token's cryptographic signature. OpenAM then uses attributes extracted from this unverified hint to decide which post_logout_redirect_uri to honor.

Because the signature is not validated, an attacker can hand-craft an id_token_hint naming any client registered in the realm. OpenAM accepts the forged hint and performs a redirect to any URI that client has registered as a valid post-logout destination. The attacker never needs valid credentials or an authenticated session.

The practical consequence is a one-click redirect from a trusted authentication host to an attacker-controlled page. The vulnerability does not grant code execution or direct data theft, but it provides a reliable primitive for phishing and OAuth consent abuse.

Root Cause

The root cause is improper verification of the cryptographic signature on the id_token_hint [CWE-347]. The specification treats id_token_hint as a hint, but OpenAM must validate the signature before trusting any client identifier derived from it. Skipping this check allows unauthenticated attackers to influence redirect behavior.

Attack Vector

An attacker constructs a URL pointing at the victim's OpenAM host, such as https://sso.victim.example/oauth2/connect/endSession, and appends a forged id_token_hint that names a target realm client along with a post_logout_redirect_uri previously registered for that client. The attacker distributes this URL through email, chat, or malicious sites. When a user clicks the link, OpenAM honors the forged hint and redirects the browser to the attacker-controlled destination without warning.

For technical details, see the GitHub Security Advisory GHSA-6f8c-crwq-jqm3 and the Vulncheck OpenAM Open Redirect Advisory.

Detection Methods for CVE-2026-105118

Indicators of Compromise

  • Inbound requests to /oauth2/connect/endSession carrying an id_token_hint parameter from unauthenticated sessions.
  • Logout flows that terminate at external domains not associated with the organization's identity services.
  • Spikes in referrer traffic from the OpenAM host to unexpected post-logout URIs.

Detection Strategies

  • Parse OpenAM access logs for endSession requests and extract the client identifier from the supplied id_token_hint for correlation.
  • Alert on requests where the id_token_hint cannot be cryptographically validated against known realm signing keys.
  • Correlate phishing reports with recent endSession redirect targets to identify abuse campaigns.

Monitoring Recommendations

  • Forward OpenAM web container access logs and audit logs to a central analytics platform.
  • Baseline the normal set of post_logout_redirect_uri values per client and alert on deviations.
  • Monitor outbound redirect chains originating from the SSO host using web proxy telemetry.

How to Mitigate CVE-2026-105118

Immediate Actions Required

  • Upgrade OpenAM to version 16.1.3 or later, which validates the id_token_hint signature before honoring any derived redirect.
  • Audit all registered post_logout_redirect_uri entries across every realm client and remove unused or wildcard entries.
  • Review recent endSession traffic for anomalous id_token_hint values or unexpected redirect destinations.

Patch Information

Open Identity Platform addresses the issue in OpenAM 16.1.3. The fix enforces cryptographic verification of the id_token_hint so that forged tokens are rejected before the redirect decision occurs. Refer to the GitHub Security Advisory GHSA-6f8c-crwq-jqm3 for upgrade instructions and release notes.

Workarounds

  • Restrict access to /oauth2/connect/endSession at the reverse proxy or web application firewall for client ranges that do not need OIDC logout.
  • Strip or reject requests containing an id_token_hint parameter until the upgrade is deployed, acknowledging that compliant logout flows may be affected.
  • Tighten each client's registered post_logout_redirect_uri list to a minimal set of first-party URLs to reduce the redirect surface.
bash
# Example NGINX rule to block endSession requests that carry an id_token_hint
# until OpenAM is upgraded to 16.1.3
location /oauth2/connect/endSession {
    if ($arg_id_token_hint) {
        return 403;
    }
    proxy_pass http://openam_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.