What’s Vulnerable › Vulnerabilities

CVE-2026-46595: Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh

Description

Previously, CVE-2024-45337 fixed an authorization bypass for misused ssh server configurations; if any other type of callback is passed other than public key, then the source-address validation would be skipped.

Affected products

How to fix

Upgrade to a fixed version: golang.org/x/crypto/ssh 0.52.0; Golang.Org/X/Crypto 0.52.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-46595 or the next vulnerability affects your stack