GO-2026-5014
Dashboard / Vulnerabilities / GO-2026-5014
GO-2026-5014
Published: 22 May 2026Last Modified: 17 Jul 2026
Summary: Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
Details: When an SSH server authentication callback returned PartialSuccessError with non-nil Permissions, those permissions were silently discarded, potentially dropping certificate restrictions such as force-command after a second factor succeeded. Returning non-nil Permissions with PartialSuccessError now results in a connection error.
References: https://go.dev/issue/79562, https://groups.google.com/g/golang-announce/c/a082jnz-LvI, https://go.dev/cl/781621
Affected packages
Package
Name: golang.org/x/crypto
Purl: pkg:golang/golang.org/x/crypto
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.52.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
