GitHub Advisoryadvisory · Go

GHSA-x527-x647-q7gg golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement

CRITICAL Published 2026-06-25 Modified 2026-07-17 Official page ↗
Aliases
CVE-2026-46595
Ecosystem
Go
Packages
golang.org/x/crypto
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
Weaknesses
CWE-303, CWE-863
Reviewed
2026-06-25

Affected packages

• Go golang.org/x/crypto: < 0.52.0 → fixed in 0.52.0

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.

Related

Alias · CVE (1)

  • CVE-2026-46595 Previously, CVE-2024-45337 fixed an authorization bypass for misused ssh server configurations; if any other type of callback is passed… vulnerability

Weakness · CWE (2)

  • CWE-303 Incorrect Implementation of Authentication Algorithm weakness
  • CWE-863 Incorrect Authorization weakness

References