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

Summary

CVECVE-2026-46595
StatePUBLISHED
AssignerGo
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-22 04:16:25 UTC
Updated2026-05-22 04:16:25 UTC
DescriptionPreviously, 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.

Risk And Classification

Primary CVSS: v3.1 10 CRITICAL from ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

EPSS: 0.000400000 probability, percentile 0.122520000 (date 2026-05-27)

Problem Types: CWE-863: Incorrect Authorization | CWE-863 CWE-863 Incorrect Authorization

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Golang.orgxcrypto Golang.org/x/crypto/ssh affected 0.52.0 semver Not specified

References

ReferenceSourceLinkTags
groups.google.com/g/golang-announce/c/a082jnz-LvI [email protected] groups.google.com
go.dev/issue/79570 [email protected] go.dev
go.dev/cl/781642 [email protected] go.dev
pkg.go.dev/vuln/GO-2026-5023 [email protected] pkg.go.dev
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report