GO-2026-5014

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

At a glance

Published
Updated
CVE
CVE-2026-39828
Aliases
GHSA-45gg-vh54-h5m9

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

PackageVersions
Go · golang.org/x/cryptointroduced 0, fixed 0.52.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database