VulnWatch by ve1ve2
critical 10.0 EPSS 3.79%

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

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
google golang.org/x/crypto

https://osv.dev/vulnerability/GO-2026-5023 ↗

osvgofix-available

Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh 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: Go:golang.org/x/crypto Fixed in: 0.52.0 References: https://go.dev/issue/79570 https://groups.google.com/g/golang-announce/c/a082jnz-LvI https://go.dev/cl/781642

Linked vulnerabilities (3)

CVE-2026-46595 critical 10.0 EPSS 0.56% (p47) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

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

CWE: CWE-863, CWE-303Aliases: GHSA-x527-x647-q7gg, CVE-2024-45337NVD: Modified

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

Aliases: CVE-2026-46595, CVE-2024-45337
CVE-2024-45337 critical 9.1 EPSS 3.79% (p90) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Applications and libraries which misuse connection.serverAuthenticate (via callback field ServerConfig.PublicKeyCallback) may be susceptible to an authorization bypass. The documentation for ServerConfig.PublicKeyCallback says that "A call to this function does not guarantee that the key offered is in fact used to authenticate." Specifically, the SSH protocol allows clients to inquire about whether a public key is acceptable before proving control of the corresponding private key. PublicKeyCallback may be called with multiple keys, and the order in which the keys were provided cannot be...

Aliases: GHSA-v778-237x-gjrcNVD: Deferred

Also reported by (1)