CVE-2026-56854
JSON

7.5high

Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.45% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2026-6303

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.

Affected

Product or packageVersionsReported by
golang.org/x/crypto/sshbefore 0.55.0CVE List
golang.org/x/crypto (Go)before 0.55.0Go Vulnerability Database

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-56854 changed 2026-08-28CVE Terms of Use
Go Vulnerability DatabaseGO-2026-6303 changed 2026-08-29CC-BY-4.0
NVDCVE-2026-56854 changed 2026-09-03Public domain