CVE-2026-46595

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

State
Published
Severity
10.0 Critical
Published
May 22, 2026
Updated
Sep 11, 2026
Reserved
May 15, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.110.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:LCISA-ADP
3.17.1 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Lredhat-SADP

Weaknesses

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

Affected Products

ProductVersions
golang.org/x/crypto/sshgolang.org/x/crypto
  • before 0.52.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.