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

CVE-2026-53989: Dockhand Open Redirect Vulnerability

CVE-2026-53989 is an open redirect flaw in Dockhand that lets attackers redirect users to malicious sites and capture authorization codes. This post covers the technical details, affected versions, impact, and mitigation steps.

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-53989 Overview

CVE-2026-53989 is an open redirect vulnerability in Dockhand versions prior to 1.0.36. The flaw resides in the OpenID Connect (OIDC) initiation endpoint, which accepts an unvalidated redirect query parameter. Unauthenticated remote attackers can craft malicious links that redirect authenticated users to attacker-controlled sites after a legitimate login. The condition is classified as URL Redirection to Untrusted Site [CWE-601].

Critical Impact

Attackers can capture OIDC authorization codes through the Referer header and stage follow-up credential phishing against any Dockhand account, enabling account takeover through the trusted login flow.

Affected Products

  • Dockhand versions prior to 1.0.36
  • Dockhand OIDC initiation endpoint
  • Deployments using Dockhand for container management with OIDC authentication

Discovery Timeline

  • 2026-09-29 - CVE-2026-53989 published to the National Vulnerability Database
  • 2026-09-29 - Last updated in NVD database

Technical Details for CVE-2026-53989

Vulnerability Analysis

Dockhand exposes an OIDC initiation endpoint that accepts a redirect query parameter used to determine where the browser is sent after authentication completes. The endpoint does not validate this parameter against an allowlist of trusted destinations. An attacker who supplies an external URL in the parameter causes Dockhand to redirect the authenticated user to that host once the OIDC flow finishes.

Because the redirect occurs after the user completes a legitimate login, the browser may transmit the OIDC authorization code in the Referer header to the attacker-controlled destination. The attacker can then exchange or replay the leaked value depending on OIDC client configuration. The malicious page can also mimic the Dockhand login screen and harvest credentials directly.

Root Cause

The root cause is missing validation of a user-supplied redirect parameter on the OIDC initiation endpoint. Dockhand trusts the client-provided value without confirming that the target host is a registered relying-party callback. This design allows arbitrary hosts to be substituted into the post-authentication redirect.

Attack Vector

The attack requires no authentication and is network-reachable. An attacker crafts a link to Dockhand's OIDC initiation endpoint containing a malicious redirect parameter and delivers it through phishing, chat, or web content. When the victim clicks the link and completes authentication, Dockhand redirects the browser to the attacker's host. User interaction, specifically clicking the crafted link and completing login, is required for exploitation.

No verified proof-of-concept code is published. See the VulnCheck Advisory on Dockhand for the authoritative technical description.

Detection Methods for CVE-2026-53989

Indicators of Compromise

  • Requests to the Dockhand OIDC initiation endpoint where the redirect query parameter references an external or unexpected host
  • Outbound HTTP requests from user browsers to unfamiliar domains immediately following a successful Dockhand login
  • Referer headers in web proxy logs containing Dockhand authorization codes sent to non-Dockhand hosts

Detection Strategies

  • Parse Dockhand access logs for OIDC initiation requests and compare redirect parameters against the approved callback allowlist
  • Alert on OIDC responses where the final redirect target does not match the configured relying party URL
  • Correlate email or messaging gateway telemetry with URLs that embed the Dockhand OIDC initiation path and external redirect values

Monitoring Recommendations

  • Enable verbose OIDC flow logging in Dockhand and forward events to a central log platform for retention and analysis
  • Monitor for spikes in authentication events followed by session anomalies such as new source IPs or user-agent changes
  • Track upgrades of Dockhand instances to confirm all deployments run version 1.0.36 or later

How to Mitigate CVE-2026-53989

Immediate Actions Required

  • Upgrade all Dockhand instances to version 1.0.36 or later, as published in the GitHub Dockhand Release v1.0.36
  • Inventory external exposure of Dockhand OIDC endpoints and restrict access where feasible
  • Notify users of the phishing risk and instruct them to inspect Dockhand links before clicking

Patch Information

The vendor released Dockhand 1.0.36 to resolve the open redirect in the OIDC initiation endpoint. Refer to the GitHub Dockhand Release v1.0.36 notes for the exact commit and upgrade steps. Rotate any OIDC client secrets if there is evidence that authorization codes were exposed prior to patching.

Workarounds

  • Place Dockhand behind a reverse proxy that strips or validates the redirect query parameter against a static allowlist
  • Configure the OIDC provider to enforce strict redirect_uri matching so leaked authorization codes cannot be exchanged for tokens on foreign hosts
  • Apply Referrer-Policy headers such as no-referrer on the Dockhand authentication endpoints to prevent authorization codes from being sent to third parties
bash
# Example nginx snippet to enforce Referrer-Policy on Dockhand endpoints
location /oidc/ {
    add_header Referrer-Policy "no-referrer" always;
    proxy_pass http://dockhand_upstream;
}

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.