CVE-2026-59998: OpenSSH GSSAPIStrictAcceptorCheck Windows AD Authentication Bypass
OpenSSH versions before 10.4 contain an undocumented security behavior where the GSSAPIStrictAcceptorCheck setting fails to function correctly when the SSH server is configured with Windows Active Directory authentication. This means servers relying on this setting for access control may not enforce the intended security checks, potentially allowing unauthorized access or credential exposure in Windows AD environments.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 4.8 MEDIUM · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses (CWE)
- CWE-573
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-07-08 / 2026-07-09
NVD description (verbatim)
sshd in OpenSSH before 10.4 has an undocumented security-relevant behavior: GSSAPIStrictAcceptorCheck has no value if the server is in Windows Active Directory.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability affects the GSSAPI (Generic Security Service Application Program Interface) authentication mechanism in OpenSSH. Specifically, the GSSAPIStrictAcceptorCheck directive—which is designed to validate that GSSAPI acceptor credentials are being used correctly—does not operate as documented when the sshd daemon is integrated with Windows Active Directory for authentication. This leaves a gap in the authentication validation chain, where malformed or spoofed GSSAPI tokens may not be properly rejected. The issue stems from undocumented behavior rather than an explicit code flaw, making it easy for administrators to misconfigure their security posture unintentionally.
Business impact
Organizations using OpenSSH with Windows Active Directory authentication may inadvertently have weaker access controls than expected. An attacker could potentially exploit the broken GSSAPIStrictAcceptorCheck to bypass authentication protections, leading to unauthorized SSH access to critical infrastructure. The impact is highest for environments where SSH serves as a primary remote access mechanism and where GSSAPI/Kerberos authentication is the sole or primary defense layer. Compliance frameworks requiring strong authentication may also flag this misconfiguration as a gap.
Affected systems
OpenSSH versions before 10.4 are affected. The vulnerability is particularly relevant to organizations that deploy OpenSSH sshd on non-Windows systems (Linux, BSD, etc.) while configuring GSSAPI authentication against Windows Active Directory backends. Windows-native SSH implementations are not directly affected, nor are OpenSSH installations that do not use GSSAPI or do not authenticate against Active Directory.
Exploitability
Exploitation requires network access to the SSH service and knowledge that GSSAPI authentication is enabled. The attack complexity is rated as high, indicating that the attacker must understand GSSAPI protocol mechanics and potentially craft malformed Kerberos tokens to test the boundary. However, the vulnerability is not known to be actively exploited in the wild, and successful exploitation depends on the specific server configuration and the attacker's ability to forge or manipulate authentication tokens.
Remediation
Upgrade OpenSSH to version 10.4 or later to obtain the corrected behavior. Organizations should verify their OpenSSH version across all systems and prioritize upgrades in environments where GSSAPI authentication with Windows AD is in use. After upgrading, test GSSAPI authentication to ensure that the GSSAPIStrictAcceptorCheck setting now functions as documented. For environments unable to upgrade immediately, review GSSAPI configuration settings and consider implementing network-level access controls or secondary authentication mechanisms as interim mitigations.
Patch guidance
Apply OpenSSH updates through your distribution's package manager (apt, yum, etc.) or compile from the official OpenSSH repository. Verify the installed version using 'ssh -V' to confirm upgrade success. Test SSH authentication—particularly GSSAPI/Kerberos flows—after patching to ensure no service disruption. Consider staging updates in a non-production environment first, as SSH updates can impact remote access if misconfigured. Restart sshd after patching to ensure the new code is loaded.
Detection guidance
Review sshd configuration files (typically /etc/ssh/sshd_config) to identify which systems have GSSAPIAuthentication and GSSAPIStrictAcceptorCheck enabled. Audit SSH authentication logs for unusual GSSAPI-related errors or unexpected authentication successes from unfamiliar source IPs when AD integration is in use. Use vulnerability scanning tools to identify OpenSSH versions prior to 10.4. Monitor for failed GSSAPI authentication attempts that may indicate token manipulation attempts.
Why prioritize this
This vulnerability merits prompt attention because it affects a widely-deployed, critical service (SSH) in environments where authentication is outsourced to Windows Active Directory. The undocumented nature of the behavior means administrators may be unaware their security controls are ineffective. While the CVSS score is moderate (4.8), the confluence of SSH's criticality and the authentication bypass potential justifies elevated priority in Windows AD-integrated environments.
Risk score, explained
The CVSS 3.1 score of 4.8 (MEDIUM) reflects a network-accessible vulnerability with high attack complexity, no privilege requirements, and potential for low confidentiality and integrity impact with no availability impact. The score appropriately captures that exploitation is feasible but requires technical knowledge and specific configuration conditions. However, in organizations where SSH is a primary access vector and GSSAPI is the sole authentication layer, the operational risk may exceed the base CVSS rating, warranting context-specific risk elevation during internal prioritization.
Frequently asked questions
Does this affect Windows Server's built-in OpenSSH implementation?
No. This vulnerability is specific to OpenSSH (the open-source implementation) running on Unix-like systems (Linux, BSD, etc.). Microsoft's native SSH server in Windows Server is not affected.
If our OpenSSH servers don't use GSSAPI authentication, are we affected?
No. The vulnerability only manifests when GSSAPI authentication is explicitly enabled in sshd configuration. If you use password, key, or non-GSSAPI authentication methods exclusively, this issue does not apply to your systems.
Is there a workaround if we can't upgrade immediately?
Verify that GSSAPIStrictAcceptorCheck is explicitly set in your sshd_config and understand that it will not function as intended until you upgrade. Consider implementing IP allowlisting, requiring public-key authentication in addition to GSSAPI, or using a VPN/bastion host as a temporary control layer. However, upgrading remains the recommended remediation.
How do we test that the patch worked correctly?
After upgrading, test SSH authentication using a Kerberos token (kinit followed by ssh commands). Monitor sshd logs (typically journalctl or /var/log/auth.log) for GSSAPI-related messages to confirm the authentication flow. You can also attempt to authenticate with an invalidated or manipulated token to verify that authentication fails as expected.
This analysis is provided for informational purposes and reflects the vulnerability as disclosed. Organizations should independently verify patch availability, test in non-production environments before deployment, and assess applicability to their specific systems and configurations. Security risk assessments should account for organizational context and threat landscape. SEC.co and its analysts do not warrant the completeness or accuracy of third-party vendor advisories or patch release timelines. Source: NVD (public-domain), retrieved 2026-08-16. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-55653MEDIUMOpenSSH DH-GEX Double-Free DoS Vulnerability
- CVE-2026-55655MEDIUMOpenSSH X11 Forwarding Socket Hijacking Vulnerability
- CVE-2026-55706MEDIUMOpenBSD SPPP PAP Authentication Bypass via Zero-Length Field Validation
- CVE-2026-56099MEDIUMOpenBSD MPLS Stack Memory Disclosure Vulnerability
- CVE-2026-59995MEDIUMOpenSSH SFTP Path Traversal Vulnerability – Patch Guidance
- CVE-2026-59996MEDIUMOpenSSH scp Path Traversal Vulnerability (v10.4 Fix)
- CVE-2026-59997MEDIUMOpenSSH SFTP Argument Parsing Vulnerability – Patch Guidance
- CVE-2026-59999MEDIUMOpenSSH DisableForwarding Bypass Allows Unauthorized SSH Tunneling