NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-39828: golang.org/x/crypto vulnerable to invoking bypass of certificate restrictions

mediumCVSS 3.1 6.3GHSA-45gg-vh54-h5m9

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.

Published Jun 25, 2026 · Updated Jul 20, 2026

Affected packages

golang.org/x/crypto

Ecosystem
Go
Affected
< 0.52.0
Fixed in
0.52.0
Check
go list -m golang.org/x/crypto

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries