CVE-2026-46595 — 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.

Published

CVSS 3.1 score 10.0 out of 10.

Reported versions and fixes

  • Source-reported product
  • Source-reported product — Reported version range cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*
  • golang.org/x/crypto/ssh — Fixed in 0.52.0

Source evidence