Description
The source-address critical option in the Permissions returned by an authentication callback was only enforced for the PublicKeyCallback and VerifiedPublicKeyCallback paths, extending the fix for CVE-2026-46595. Permissions returned by the PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, and GSSAPIWithMICConfig.AllowLogin callbacks were not validated against the client's remote address, so a source-address restriction set by those callbacks was silently ignored. The check is now applied to the Permissions returned by any authentication callback.
Published: 2026-08-28
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized Access
Action: Patch
AI Analysis

Impact

The bug in golang.org/x/crypto/ssh caused the source-address critical option supplied by authentication callbacks to be enforced only for PublicKeyCallback and VerifiedPublicKeyCallback. Other callback methods—PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, and GSSAPIWithMICConfig.AllowLogin—were ignored during permission validation, meaning any source-address restriction these callbacks could impose was silently bypassed. This flaw allows an attacker who can influence or supply the authentication callback to craft permissions that grant access from an untrusted IP, effectively nullifying IP-based access controls that an SSH server might rely on.

Affected Systems

Vendors: golang.org/x/crypto, product: golang.org/x/crypto/ssh. All releases of this SSH library that predate the patch are considered vulnerable; the CVE description does not list exact version numbers, so any version before the fix that contains the unpatched callback enforcement logic should be treated as at risk and updated to a newer release.

Risk and Exploitability

The vulnerability can be leveraged remotely by connecting to an SSH service that uses the vulnerable library and providing a malicious authentication callback. The CVSS score of 7.5 indicates high severity, and although no EPSS score is available, the lack of IP restriction enforcement dramatically increases the likelihood of successful exploitation. The vulnerability is not listed in the CISA KEV catalog. An attacker who can dictate the authentication callback—such as a developer of software that embeds this SSH library—could bypass source-address restrictions, gaining privileged access that should be denied. The dependence on the application to supply callbacks variants means that many real-world deployments using this library are potentially exposed.

Generated by OpenCVE AI on August 29, 2026 at 01:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update golang.org/x/crypto/ssh to a version that includes the CVE‑2026‑56854 fix.
  • If your application vendorises the SSH library, replace the vendored copy with the upstream patched version and rebuild the binaries.
  • As a temporary measure, apply network‑level filtering to restrict SSH access to known trusted source addresses, compensating for the missing source‑address enforcement.

Generated by OpenCVE AI on August 29, 2026 at 01:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 29 Aug 2026 00:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285

Sat, 29 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-346
References
Metrics threat_severity

None

threat_severity

Critical


Fri, 28 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-863
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 28 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Golang
Golang crypto
Vendors & Products Golang
Golang crypto

Fri, 28 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285

Fri, 28 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Description The source-address critical option in the Permissions returned by an authentication callback was only enforced for the PublicKeyCallback and VerifiedPublicKeyCallback paths, extending the fix for CVE-2026-46595. Permissions returned by the PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, and GSSAPIWithMICConfig.AllowLogin callbacks were not validated against the client's remote address, so a source-address restriction set by those callbacks was silently ignored. The check is now applied to the Permissions returned by any authentication callback.
Title Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2026-08-28T20:17:17.397Z

Reserved: 2026-06-23T15:10:49.353Z

Link: CVE-2026-56854

cve-icon Vulnrichment

Updated: 2026-08-28T20:16:30.024Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-28T16:18:17.607

Modified: 2026-09-03T16:37:52.170

Link: CVE-2026-56854

cve-icon Redhat

Severity : Critical

Publid Date: 2026-08-28T15:14:26Z

Links: CVE-2026-56854 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-29T01:30:05Z

Weaknesses