What’s Vulnerable › Vulnerabilities

CVE-2026-39828: Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh

Description

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 products

How to fix

Upgrade to a fixed version: golang.org/x/crypto/ssh 0.52.0; Golang.Org/X/Crypto 0.52.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-39828 or the next vulnerability affects your stack