{"id":"GO-2026-6303","summary":"Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh","details":"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.","aliases":["CVE-2026-56854"],"modified":"2026-08-28T15:15:16.467809808Z","published":"2026-08-28T14:47:45Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-6303","review_status":"REVIEWED"},"references":[{"type":"REPORT","url":"https://go.dev/issue/80213"},{"type":"FIX","url":"https://go.dev/cl/797040"}],"affected":[{"package":{"name":"golang.org/x/crypto","ecosystem":"Go","purl":"pkg:golang/golang.org/x/crypto"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.55.0"}]}],"ecosystem_specific":{"imports":[{"path":"golang.org/x/crypto/ssh","symbols":["NewServerConn","connection.serverAuthenticate"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-6303.json"}}],"schema_version":"1.9.0","credits":[{"name":"Longwei Wang (@gn00295120)"}]}