CVEfocus › CVE database › CVE-2026-39828

CVE-2026-39828Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh

CVSS 6.3 MediumEPSS 0.5% (higher than 39% of CVEs)Published 2026-05-22Updated 2026-09-18Assigner: Go

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.

CWE-281

What to do

Fixed builds are available from Debian, Go: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
23Fix pending
6Under investigation
3Will not fix
26Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-go.cryptoFix pendingUBUNTU-CVE-2026-39828
Ubuntu 26.10google-guest-agentFix pendingUBUNTU-CVE-2026-39828
Ubuntu 26.10snapdFix pendingUBUNTU-CVE-2026-39828
Ubuntu 26.04golang-go.cryptoFix pendingUBUNTU-CVE-2026-39828
Ubuntu 26.04google-guest-agentUnder investigationUBUNTU-CVE-2026-39828
Ubuntu 26.04snapdUnder investigationUBUNTU-CVE-2026-39828
Ubuntu 25.10golang-go.cryptoWill not fix
snapd contains an embedded copy of golang-go.crypto lxd in 18.04 LTS and earlier contains an embedded copy of golang-go.crypto google-guest-agent contains an…
UBUNTU-CVE-2026-39828
Ubuntu 25.10google-guest-agentWill not fix
snapd contains an embedded copy of golang-go.crypto lxd in 18.04 LTS and earlier contains an embedded copy of golang-go.crypto google-guest-agent contains an…
UBUNTU-CVE-2026-39828
Ubuntu 25.10snapdWill not fix
snapd contains an embedded copy of golang-go.crypto lxd in 18.04 LTS and earlier contains an embedded copy of golang-go.crypto google-guest-agent contains an…
UBUNTU-CVE-2026-39828
Ubuntu 24.04golang-go.cryptoFix pendingUBUNTU-CVE-2026-39828
Ubuntu 24.04google-guest-agentUnder investigationUBUNTU-CVE-2026-39828
Ubuntu 24.04snapdUnder investigationUBUNTU-CVE-2026-39828
Ubuntu 22.04golang-go.cryptoFix pendingUBUNTU-CVE-2026-39828
Ubuntu 22.04google-guest-agentUnder investigationUBUNTU-CVE-2026-39828
Ubuntu 22.04snapdUnder investigationUBUNTU-CVE-2026-39828
Ubuntu 20.04golang-go.cryptoFix pendingUBUNTU-CVE-2026-39828
Ubuntu 20.04google-guest-agentFix pendingUBUNTU-CVE-2026-39828
Ubuntu 20.04snapdFix pendingUBUNTU-CVE-2026-39828
Ubuntu 18.04golang-go.cryptoFix pendingUBUNTU-CVE-2026-39828
Ubuntu 18.04google-guest-agentFix pendingUBUNTU-CVE-2026-39828
Ubuntu 18.04lxdFix pendingUBUNTU-CVE-2026-39828
Ubuntu 18.04snapdFix pendingUBUNTU-CVE-2026-39828
Ubuntu 16.04golang-go.cryptoFix pendingUBUNTU-CVE-2026-39828
Ubuntu 16.04google-guest-agentFix pendingUBUNTU-CVE-2026-39828
Ubuntu 16.04lxdFix pendingUBUNTU-CVE-2026-39828
Ubuntu 16.04snapdFix pendingUBUNTU-CVE-2026-39828
Debian 14golang-go.cryptoFixed1:0.52.0-1DEBIAN-CVE-2026-39828
Debian 13golang-go.cryptoFix pendingDEBIAN-CVE-2026-39828
Debian 12golang-go.cryptoFix pendingDEBIAN-CVE-2026-39828
Red Hat Enterprise Linux 10buildahNot affected
Red Hat Enterprise Linux 10buildah-testsNot affected
Red Hat Enterprise Linux 10gvisor-tap-vsockFix pending
Affected
Red Hat Enterprise Linux 10gvisor-tap-vsock-gvforwarderFix pending
Affected
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Enterprise Linux 10podman-dockerNot affected
Red Hat Enterprise Linux 10podman-remoteNot affected
Red Hat Enterprise Linux 10podman-testsNot affected
Red Hat Enterprise Linux 10trustee-kbsNot affected
Red Hat Enterprise Linux 9buildahNot affected
Red Hat Enterprise Linux 9buildah-testsNot affected
Red Hat Enterprise Linux 9gvisor-tap-vsockFix pending
Affected
Red Hat Enterprise Linux 9gvisor-tap-vsock-gvforwarderFix pending
Affected
Red Hat Enterprise Linux 9podmanNot affected
Red Hat Enterprise Linux 9podman-catatonitNot affected
Red Hat Enterprise Linux 9podman-dockerNot affected
Red Hat Enterprise Linux 9podman-gvproxyNot affected
Red Hat Enterprise Linux 9podman-pluginsNot affected
Red Hat Enterprise Linux 9podman-remoteNot affected
Red Hat Enterprise Linux 9podman-testsNot affected
Red Hat Enterprise Linux 8buildahNot affected
Red Hat Enterprise Linux 8buildah-testsNot affected
Red Hat Enterprise Linux 8podmanNot affected
Red Hat Enterprise Linux 8podman-catatonitNot affected
Red Hat Enterprise Linux 8podman-dockerNot affected
Red Hat Enterprise Linux 8podman-gvproxyNot affected
Red Hat Enterprise Linux 8podman-manpagesNot affected
Red Hat Enterprise Linux 8podman-pluginsNot affected
Red Hat Enterprise Linux 8podman-remoteNot affected
Red Hat Enterprise Linux 8podman-testsNot affected
Go librarygolang.org/x/cryptoFixed0.52.0GO-2026-5014

What the vendor says

As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.