GO-2026-5014: Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- golang.org/x/crypto
https://osv.dev/vulnerability/GO-2026-5014 ↗
Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh 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. Affected: Go:golang.org/x/crypto Fixed in: 0.52.0 References: https://go.dev/issue/79562 https://groups.google.com/g/golang-announce/c/a082jnz-LvI https://go.dev/cl/781621