# CVE-2026-59998: OpenSSH sshd GSSAPIStrictAcceptorCheck bypass in Active Directory

Source: https://junglewise.ai/threats/cve-2026-59998-openssh-sshd-gssapistrictacceptorcheck-bypass-in-active-directory  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-08. Updated: 2026-07-08  
License: CC BY 4.0 with a link back

CVE-2026-59998 · Severity: medium · CVSS 4.8 · Published 2026-07-08

OpenSSH is a widely used tool for secure remote access to servers. A security-relevant behavior has been identified where a specific security setting, intended to strictly validate the identity of the server during login, is ignored when the server is part of a Windows Active Directory environment. This could potentially allow an attacker to bypass certain identity checks during the authentication process, though it requires specific environmental conditions to exploit.

Technologies: [OpenBSD Openssh](https://junglewise.ai/threats/technologies/openssh). Vendors: [OpenBSD](https://junglewise.ai/threats/vendors/openbsd).

## Quick answers

**Is CVE-2026-59998 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-59998 being exploited in the wild.

**How severe is CVE-2026-59998?** Medium severity, with a CVSS score of 4.8, published 8 July 2026.

**Which products and versions are affected?** OpenBSD Openssh before 10.4.

**Is there a fix for CVE-2026-59998?** A patch was published on 2026-07-06: OpenSSH 10.4 released with fix/documentation update Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-59998 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-59998?** Check whether you run OpenBSD Openssh at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

In OpenSSH versions prior to 10.4, the 'GSSAPIStrictAcceptorCheck' configuration option in sshd is ineffective when the host is joined to a Windows Active Directory environment. This option is intended to ensure that the GSSAPI acceptor name matches the server's actual hostname, preventing certain types of credential redirection or impersonation. The root cause is an undocumented behavior where the check is bypassed in AD environments. An attacker could potentially exploit this to use a service ticket intended for one host to authenticate to another, provided GSSAPI authentication is enabled. The issue is addressed in OpenSSH 10.4 by updating documentation and/or behavior to reflect this limitation.

## Affected products

- OpenBSD OpenSSH before 10.4

## Timeline

- 2026-07-06: patched: OpenSSH 10.4 released with fix/documentation update
- 2026-07-08: disclosed: CVE published to NVD

## References

- [https://marc.info/?l=openssh-unix-dev&m=178333966933090&w=2](https://marc.info/?l=openssh-unix-dev&m=178333966933090&w=2)
- [https://www.openssh.org/releasenotes.html](https://www.openssh.org/releasenotes.html)
- [https://www.openwall.com/lists/oss-security/2026/07/06/5](https://www.openwall.com/lists/oss-security/2026/07/06/5)

## Related threats

- [OpenSSH password authentication bypass on musl libc without PAM](https://junglewise.ai/threats/cve-2026-123158-sshd-in-openssh-before-10-6p2-on-linux-when-musl-libc-is-used)
- [In sshd in OpenSSH before 10.5, the restrict keyword (in authorized_keys) was supposed to be applicable to tunnel forwarding but was not.](https://junglewise.ai/threats/cve-2026-73283-in-sshd-in-openssh-before-10-5-the-restrict-keyword-in-authorized)
- [In ssh in OpenSSH before 10.5, a use-after-free for realloc data can occur if a certain pair of remote-forwarding operations are concurrent.](https://junglewise.ai/threats/cve-2026-73282-in-ssh-in-openssh-before-10-5-a-use-after-free-for-realloc-data)
- [In ssh-agent in OpenSSH before 10.5, some operations can occur remotely but were intended to occur only locally…](https://junglewise.ai/threats/cve-2026-73281-in-ssh-agent-in-openssh-before-10-5-some-operations-can-occur)
- [OpenSSH use-after-free in ssh client during key re-exchange](https://junglewise.ai/threats/cve-2026-60002-openssh-use-after-free-in-ssh-client-during-key-re-exchange)
