cve.bz

CVE-2026-39828 golang crypto: Improper Certificate Validation

6.3 mediumEPSS 0.4%Fix available

Medium (6.3) in golang crypto. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/crypto 0.52.0.

On this page
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.

Severity

CVSS 3.1

6.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-05-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-295 Improper Certificate Validation
CWE-281 Improper Preservation of Permissions
OWASP Top 10
A01:2025 Broken Access Control, A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-39828 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-39828?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-39828?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-39828 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
golang.org/x/crypto/sshbefore 0.52.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-45gg-vh54-h5m9Gogolang.org/x/crypto<0.52.00.52.0
GO-2026-5014Gogolang.org/x/crypto<0.52.00.52.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13golang-go.cryptono fix listedDEBIAN-CVE-2026-39828
Debian14golang-go.crypto1:0.52.0-1DEBIAN-CVE-2026-39828
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTSsnapd, google-guest-agentno fix listedUBUNTU-CVE-2026-39828
Ubuntu25.10, 26.10, Pro:20.04:LTSsnapd, golang-go.crypto, google-guest-agentno fix listedUBUNTU-CVE-2026-39828
UbuntuPro:16.04:LTS, Pro:18.04:LTSlxd, snapd, golang-go.crypto and 1 moreno fix listedUBUNTU-CVE-2026-39828
UbuntuPro:22.04:LTS, Pro:24.04:LTS, Pro:26.04:LTSgolang-go.cryptono fix listedUBUNTU-CVE-2026-39828
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morecosign3.1.1-150400.3.45.1SUSE-SU-2026:2827-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moredistribution3.1.1-150400.9.41.1SUSE-SU-2026:4212-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morebuildah1.35.5-150400.3.68.1SUSE-SU-2026:2706-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Module for Containers 15 SP7 and 4 morebuildah1.35.5-150500.3.62.1SUSE-SU-2026:2733-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 and 2 moregoogle-guest-agent20260529.00-150000.1.70.1SUSE-SU-2026:2612-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 and 2 moregoogle-osconfig-agent20260615.01-150000.1.55.1SUSE-SU-2026:2611-1
SUSELinux Enterprise Module for Basesystem 15 SP7alloy1.17.1-150700.15.23.1SUSE-SU-2026:2824-1
SUSELinux Enterprise Module for Containers 15 SP7containerized-data-importer1.64.0-150700.9.14.1SUSE-SU-2026:4209-1
SUSELinux Enterprise Module for Containers 15 SP7kubevirt1.7.4-150700.3.30.1SUSE-SU-2026:3203-1
SUSELinux Enterprise Module for HPC 15 SP7, Linux Enterprise Server 15 SP6-LTSSapptainer1.5.1-150600.4.24.1SUSE-SU-2026:2609-1
SUSELinux Enterprise Module for Public Cloud 12amazon-ssm-agent3.3.4624.0-4.49.1SUSE-SU-2026:2468-1
SUSELinux Enterprise Module for Public Cloud 12google-guest-agent20260529.00-1.61.1SUSE-SU-2026:2581-1
29 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0alloy1.17.0-160000.1.1openSUSE-SU-2026:21251-1
openSUSELeap 16.0amazon-ssm-agent3.3.4624.0-160000.1.1openSUSE-SU-2026:21079-1
openSUSELeap 16.0cloudflared2026.9.1-bp160.1.1openSUSE-SU-2026:21924-1
openSUSELeap 16.0containerized-data-importer1.651.65.0-160000.3.1openSUSE-SU-2026:21824-1
openSUSELeap 16.0cosign3.1.1-160000.1.1openSUSE-SU-2026:21281-1
openSUSELeap 16.0distribution3.1.1-160000.1.1openSUSE-SU-2026:21084-1
openSUSELeap 16.0glab1.114.0-bp160.1.1openSUSE-SU-2026:21662-1
openSUSELeap 16.0google-guest-agent20260529.00-160000.1.1openSUSE-SU-2026:21069-1
openSUSELeap 16.0google-osconfig-agent20260615.01-160000.1.2openSUSE-SU-2026:21210-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSELeap 16.0kubevirt1.81.8.4-160000.1.1openSUSE-SU-2026:21590-1
openSUSELeap 16.0mcphost0.34.0-160000.2.1openSUSE-SU-2026:21120-1
12 more for openSUSE in the JSON and on openSUSE's page.
Azure Linux3buildahno fix listedAZL-87197
Azure Linux3cert-manager1.12.15-9AZL-87429
Azure Linux3cf-cli8.7.11-7AZL-87450
Azure Linux3cri-ono fix listedAZL-87239
Azure Linux3gh2.62.0-17AZL-87759
Azure Linux3kubevirt1.7.1-7AZL-87945
Azure Linux3kubevirt-openvmmno fix listedAZL-111557
Azure Linux3packer1.9.5-15AZL-88179
Azure Linux3podmanno fix listedAZL-87296
Azure Linux3telegraf1.31.0-23AZL-88362
Alpaquita23podman, skopeo, buildah and 1 moreno fix listedBELL-CVE-2026-39828
Alpaquita25podman, skopeo, buildah and 4 moreno fix listedBELL-CVE-2026-39828
Alpaquitastreametcd, helm, grype and 9 moreno fix listedBELL-CVE-2026-39828

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important security flaw in the `golang.org/x/crypto/ssh` library. When an SSH server utilizing this library is configured with specific authentication callbacks that return a `PartialSuccessError` with non-nil permissions, an attacker could bypass intended certificate restrictions, such as `force-command`. This bypass could lead to unauthorized command execution or access on affected Red Hat systems configured with multi-factor authentication and certificate-based access controls.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-storage-rhel9:4.2.0-19Fixed 2026-07-29RHSA-2026:48151
RHEM 1.0 for RHEL 9flightctl-0:1.0.3-1.el9emFixed 2026-07-08RHSA-2026:36796
RHEM 1.1 for RHEL 10flightctl-0:1.1.3-1.el10emFixed 2026-07-16RHSA-2026:41019
RHEM 1.1 for RHEL 9flightctl-0:1.1.3-1.el9emFixed 2026-07-16RHSA-2026:41019
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791371080Fixed 2026-10-13RHSA-2026:82304
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-rhel9:1791371069Fixed 2026-10-13RHSA-2026:82304
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/cert-manager-operator-rhel9:1791788287Fixed 2026-10-13RHSA-2026:82322
Cert Manager support for Red Hat OpenShift release 1.19cert-manager/jetstack-cert-manager-acmesolver-rhel9:1786613805Fixed 2026-08-13RHSA-2026:54531
Cert Manager support for Red Hat OpenShift release 1.19cert-manager/jetstack-cert-manager-rhel9:1786613805Fixed 2026-08-13RHSA-2026:54531
DevWorkspace Operator 0.42devworkspace/devworkspace-project-clone-rhel9:1782400868Fixed 2026-07-08RHSA-2026:36808
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9Will not fix
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-payload-rhel9Will not fix
Confidential Compute Attestationopenshift-sandboxed-containers/osc-rhel9-operatorWill not fix
ExternalDNS Operatoredo/external-dns-rhel9Not affected
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-rhel9Will not fix
Multicluster Engine for Kubernetesmulticluster-engine/azure-service-operator-rhel9Affected
Multicluster Engine for Kubernetesmulticluster-engine/cluster-api-provider-azure-rhel9Affected
Multicluster Engine for Kubernetesmulticluster-engine/cluster-api-provider-kubevirt-rhel9Affected
OpenShift Pipelinesopenshift-pipelines-clientAffected
343 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-39828.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON