CVE-2026-39828MEDIUMCVSS 6.3

golang.org/x/crypto/ssh vulnerable to invoking bypass of certificate restrictions

Published Jun 25, 2026·Updated Jun 25, 2026

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 Packages (1)

golang.org/x/crypto/sshGO
Fixed in 0.52.0

CVSS Vector

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

References

View on NVD Search GitHub Search Google

Get alerted for CVEs like this

Register your stack and get notified within minutes when a matching CVE drops.

Start monitoring free