CVE-2026-39828
MEDIUM6.3EPSS 0.03%Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
Published: 5/22/2026Modified: 5/29/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 (2)
- Debian/golang-go.cryptofrom 0
- Go/golang.org/x/cryptofrom 0, < 0.52.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |