
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-56854 is an authentication bypass vulnerability in the golang.org/x/crypto/ssh package that fails to enforce source-address critical option restrictions for several SSH authentication callback methods. The flaw extends an incomplete fix from CVE-2026-46595: while PublicKeyCallback and VerifiedPublicKeyCallback paths were corrected previously, the PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, and GSSAPIWithMICConfig.AllowLogin callbacks remained unprotected, silently ignoring source-address restrictions. All versions of golang.org/x/crypto/ssh prior to 0.55.0 are affected. It was published on August 28, 2026, with a CVSS v3.1 base score of 7.5 (High) (Red Hat Advisory, GitHub Advisory).
The root cause is classified as CWE-346 (Origin Validation Error) and CWE-863 (Incorrect Authorization). When an SSH server built with golang.org/x/crypto/ssh uses authentication callbacks such as PasswordCallback or KeyboardInteractiveCallback and those callbacks return Permissions containing a source-address critical option, the SSH library failed to validate the connecting client's remote IP address against that restriction. As a result, a client connecting from any IP address could successfully authenticate even if the server's callback logic intended to restrict access to specific source addresses. The fix, applied in version 0.55.0, ensures the source-address check is uniformly applied to Permissions returned by any authentication callback (Red Hat Bugzilla, Go Issue).
Successful exploitation allows an unauthenticated network attacker to bypass source-address-based access controls on SSH services implemented using the affected golang.org/x/crypto/ssh library. The primary impact is a high confidentiality risk — an attacker from a disallowed IP address can gain unauthorized access to SSH sessions and the data or systems accessible through them. Integrity and availability are not directly impacted by this vulnerability, but unauthorized SSH access could serve as a foothold for further lateral movement or data exfiltration (GitHub Advisory, Red Hat Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the disclosure date (GitHub Advisory). The vulnerability is automatable (no user interaction required) and requires no privileges, making it straightforward to exploit against any exposed SSH service using the affected library with source-address restrictions configured. The EPSS score is approximately 0.325%, indicating a low but non-negligible probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. No threat actor attribution has been reported.
golang.org/x/crypto/ssh versions prior to 0.55.0 that use PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, or GSSAPIWithMICConfig.AllowLogin for authentication and have source-address restrictions configured.ssh user@target-host).Permissions include a source-address critical option.password, keyboard-interactive, or none for accounts with source-address restrictions.golang.org/x/crypto/ssh < 0.55.0 accepting connections without source-address enforcement; audit logs showing access from unauthorized network segments.Upgrade golang.org/x/crypto/ssh to version 0.55.0 or later, which applies the source-address check uniformly to all authentication callbacks (Go Change, Go Vulnerability DB). As an interim workaround, implement network-level firewall rules or SSH daemon-level IP restrictions (e.g., using AllowUsers with @host syntax in OpenSSH, or network ACLs) to enforce source-address restrictions independently of the application layer. Additionally, review and audit SSH authentication logs for connections from unexpected source IP addresses to detect any prior unauthorized access (Red Hat Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."