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.
History

Fri, 22 May 2026 05:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Fri, 22 May 2026 03:30:00 +0000

Type Values Removed Values Added
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.
Title Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2026-05-22T02:31:26.883Z

Reserved: 2026-04-07T18:13:03.528Z

Link: CVE-2026-39828

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-22T04:16:22.190

Modified: 2026-05-22T04:16:22.190

Link: CVE-2026-39828

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-22T05:00:11Z