medium

CVE-2026-39828

Go · golang.org/x/crypto/ssh • Go · golang.org/x/crypto

Summary

golang.org/x/crypto/ssh vulnerable to invoking bypass of certificate restrictions

Severity
medium
CVSS
6.3
EPSS
0.4% (p30)
CWE
CWE-295
Also known as
GHSA-45gg-vh54-h5m9, GO-2026-5014
Published
2026-06-25
Updated
2026-06-25

Advisory details

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

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.