CVE 6.3 MEDIUM

Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh_CVE-2026-39828

6.3 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

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.

Basic Information

ID CVE-2026-39828
Source Go
Published May 22, 2026 at 02:31
Modified May 22, 2026 at 17:44

Affected Product

Vendor golang.org/x/crypto
Product golang.org/x/crypto/ssh
Affected Versions golang.org/x/crypto golang.org/x/crypto/ssh 0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.