ADVISORIES

Go Vulnerability Database

GO-2026-5023

Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh

Details

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 packages

EcosystemPackageAffected versions
Gogolang.org/x/crypto
From 0.43.0 before 0.52.0 (fixed in 0.52.0)

References