GO-2026-5014

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

En bref

Publiée
Mise à jour
CVE
CVE-2026-39828
Alias
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.

Paquets affectés

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

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database