cve.bz

CVE-2026-39832 golang crypto: Deserialization of Untrusted Data

9.1 criticalEPSS 0.7%Fix available

Critical (9.1) in golang crypto. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/crypto 0.52.0.

On this page
When adding a key to a remote agent constraint extensions such as restrict-destination-v00@openssh.com were not serialized in the request. Destination restrictions were silently stripped when forwarding keys, allowing unrestricted use of the key on the remote host. The client now serializes all constraint extensions. Additionally, the in-memory keyring returned by NewKeyring() now rejects keys with unsupported constraint extensions instead of silently ignoring them.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd 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: yes · Technical impact: total, 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-502 Deserialization of Untrusted Data
CWE-281 Improper Preservation of Permissions
OWASP Top 10
A01:2025 Broken Access Control, A08:2025 Software or Data Integrity 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-39832 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-39832?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-39832?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-39832 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/ssh/agentbefore 0.52.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f5wc-c3c7-36mcGogolang.org/x/crypto<0.52.00.52.0
GO-2026-5006Gogolang.org/x/crypto<0.52.00.52.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13golang-go.cryptono fix listedDEBIAN-CVE-2026-39832
Debian14golang-go.crypto1:0.52.0-1DEBIAN-CVE-2026-39832
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 2 moresnapdno fix listedUBUNTU-CVE-2026-39832
Ubuntu25.10snapd, golang-go.cryptono fix listedUBUNTU-CVE-2026-39832
UbuntuPro:16.04:LTS, Pro:18.04:LTSlxd, snapdno fix listedUBUNTU-CVE-2026-39832
UbuntuPro:20.04:LTSgolang-go.crypto1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2UBUNTU-CVE-2026-39832
UbuntuPro:22.04:LTSgolang-go.crypto1:0.0~git20211202.5770296-1ubuntu0.1~esm2UBUNTU-CVE-2026-39832
UbuntuPro:24.04:LTSgolang-go.crypto1:0.19.0-1ubuntu0.1~esm2UBUNTU-CVE-2026-39832
UbuntuPro:26.04:LTSgolang-go.crypto1:0.47.0-1ubuntu0.1~esm1UBUNTU-CVE-2026-39832
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.10.1-2.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.14-4.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.10-1.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-3.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.4.0-8.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-82.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamcrit, criu, criu-libs and 5 more0:3.18-5.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:1.14.3-2.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamfuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource0:1.13-1.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamlibslirp, libslirp-devel, libslirp-debuginfo and 1 more0:4.4.0-2.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamnetavark2:1.10.3-1.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
31 more for Red Hat in the JSON and on Red Hat's page.
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
30 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.0govulncheck-vulndb0.0.20260827T195228-160000.1.1openSUSE-SU-2026:21761-1
openSUSELeap 16.0kubevirt1.81.8.4-160000.1.1openSUSE-SU-2026:21590-1
15 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+3901+4b80ecd7ALSA-2026:35833
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7ALSA-2026:35833
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+4047+545787c4ALSA-2026:35833
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+4089+ce72bbbeALSA-2026:35833
AlmaLinux8buildah, buildah-tests2:1.33.14-4.module_el8.10.0+4213+0493256bALSA-2026:35833
AlmaLinux8cockpit-podman84.1-1.module_el8.10.0+4102+6c76e544ALSA-2026:35833
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3970+8445edf6ALSA-2026:35833
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+4068+0e21408fALSA-2026:35833
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+4090+91932338ALSA-2026:35833
AlmaLinux8container-selinux2:2.229.0-3.module_el8.10.0+4213+0493256bALSA-2026:35833
AlmaLinux8containernetworking-plugins1:1.4.0-8.module_el8.10.0+4136+16425343ALSA-2026:35833
AlmaLinux8containers-common2:1-82.module_el8.10.0+3876+e55593a8ALSA-2026:35833
51 more for AlmaLinux in the JSON.
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1874+ce489889RLSA-2026:35833
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1880+8e896d1bRLSA-2026:35833
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1896+b18fa106RLSA-2026:35833
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1948+4b5cd4a9RLSA-2026:35833
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+2001+6a33db9fRLSA-2026:35833
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+40047+0c0a73f4RLSA-2026:35833
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+40133+32c21f88RLSA-2026:35833
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2026:35833
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1825+623b0c20RLSA-2026:35833
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1843+6892ab28RLSA-2026:35833
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1872+2e18eb19RLSA-2026:35833
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1874+ce489889RLSA-2026:35833
104 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important vulnerability in `golang.org/x/crypto/ssh/agent` allows for a security bypass when SSH keys with destination restrictions are forwarded via an SSH agent. This flaw could lead to unintended exposure of SSH keys, enabling an attacker to use the forwarded key without the specified restrictions on remote hosts. Red Hat products utilizing `golang.org/x/crypto/ssh/agent` for key forwarding may be affected if users rely on constraint extensions for limiting key usage.

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
Red Hat Enterprise Linux 10buildah-2:1.43.1-3.el10_2Fixed 2026-07-07RHSA-2026:36199
Red Hat Enterprise Linux 10podman-7:5.8.2-4.el10_2Fixed 2026-07-09RHSA-2026:37072
Red Hat Enterprise Linux 8container-tools:rhel8-8100020260701102925.afee755dFixed 2026-07-06RHSA-2026:35833
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicecontainer-tools:rhel8-8080020260721142025.63b34585Fixed 2026-08-04RHSA-2026:49944
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionscontainer-tools:rhel8-8080020260721142025.63b34585Fixed 2026-08-04RHSA-2026:49944
Red Hat Enterprise Linux 9podman-6:5.8.2-4.el9_8Fixed 2026-07-09RHSA-2026:37123
Red Hat Enterprise Linux 9buildah-2:1.43.1-3.el9_8Fixed 2026-07-09RHSA-2026:37410
Red Hat Enterprise Linux 9.6 Extended Update Supportpodman-5:5.4.0-22.el9_6.5Fixed 2026-09-14RHSA-2026:67450
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
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Affected
ExternalDNS Operatoredo/external-dns-rhel9Not affected
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-rhel9Will not fix
OpenShift Pipelinesopenshift-pipelines-clientAffected
OpenShift Pipelinesopenshift-pipelines/pipelines-chains-controller-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-pipelines-as-code-controller-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-results-api-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-results-watcher-rhel9Affected
OpenShift Serverlessopenshift-serverless-1/kn-plugin-func-func-util-rhel9Affected
177 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-39832.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

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

References

Check your stackJSON