Skip to content
7.5 High

CVE-2026-56854 The source-address critical option in the Permissions returned by an authentication callback was only enforced for the…

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 products and versions

Product Affected versions Fixed in
golang.org/x/crypto/ssh 0.55 earliest → < 0.55.0 0.55.0

References

Timeline

  1. Published
  2. Last modified
The 15 CVEs of golang.org/x/crypto/ssh →
Track this CVE