Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

golang.org/x/crypto golang.org/x/crypto/ssh

Default version status: unaffected

  • 0 to < 0.52.0affected

References