CVE-2026-39828

MEDIUM

Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh

Title source: cna
STIX 2.1

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.

References (46)

Core 46
Core References

Scores

CVSS v3 6.3
EPSS 0.0037
EPSS Percentile 29.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-281 CWE-295
Status published
Products (3)
golang/crypto < 0.52.0
golang.org/x/crypto/golang.org/x/crypto/ssh < 0.52.0
x/crypto 0 - 0.52.0Go
Published May 22, 2026
Tracked Since May 22, 2026