CVE-2026-39832
JSON

9.1critical

Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.68% (higher than 48% of CVEs)
Published
Last changed
Assigned by
Go
Also known as
GHSA-f5wc-c3c7-36mcGO-2026-5006

Description

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.

Affected

Product or packageVersionsReported by
golang.org/x/crypto/ssh/agentbefore 0.52.0CVE List
buildahNot specified
Not affected: from 2:1.43.1-3.el10_2 before *, from 2:1.43.1-3.el9_8 before *
CVE List
podmanNot specified
Not affected: from 7:5.8.2-4.el10_2 before *, from 6:5.8.2-4.el9_8 before *
CVE List
container-tools:rhel8Not specified
Not affected: from 8100020260701102925.afee755d before *, from 8080020260721142025.63b34585 before *
CVE List
flightctlNot specified
Not affected: from 0:1.0.3-1.el9em before *, from 0:1.1.3-1.el10em before *, from 0:1.1.3-1.el9em before *
CVE List
cluster-observability-operator/cluster-observability-rhel9-operatorNot specified
Not affected: from 1787593637 before *
CVE List
openshift-logging/cluster-logging-rhel9-operatorNot specified
Not affected: from 1788439505 before *
CVE List
multicluster-engine/hypershift-addon-rhel9-operatorNot specified
Not affected: from 1786912006 before *
CVE List
multicluster-engine/cluster-image-set-controller-rhel9Not specified
Not affected: from 1787259740 before *
CVE List
oadp/oadp-velero-rhel9Not specified
Not affected: from 1784058822 before *
CVE List
advanced-cluster-security/rhacs-scanner-rhel8Not specified
Not affected: from 1782891812 before *, from 1782891789 before *
CVE List
advanced-cluster-security/rhacs-scanner-slim-rhel8Not specified
Not affected: from 1782891812 before *, from 1782891789 before *
CVE List

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
redhat-SADP8.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-281CWE-502

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Al añadir una clave a un agente remoto, las extensiones de restricción como restrict-destination-v00@openssh.com no se serializaban en la solicitud. Las restricciones de destino se eliminaban silenciosamente al reenviar claves, permitiendo el uso sin restricciones de la clave en el host remoto. El cliente ahora serializa todas las extensiones de restricción. Además, el llavero en memoria devuelto por NewKeyring() ahora rechaza las claves con extensiones de restricción no compatibles en lugar de ignorarlas silenciosamente.

References

https://go.dev/issue/79435issue-tracking, report, web
https://go.dev/cl/778640fix
https://go.dev/cl/778641fix
https://groups.google.com/g/golang-announce/c/a082jnz-LvImailing-list, web
https://pkg.go.dev/vuln/GO-2026-5006vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-39832vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2480685issue-tracking, web
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39832.jsonweb
https://access.redhat.com/errata/RHSA-2026:41019vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:36796vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:36199vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:37072vendor-advisory, web

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-39832 changed 2026-09-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-f5wc-c3c7-36mc changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5006 changed 2026-11-25CC-BY-4.0
NVDCVE-2026-39832 changed 2026-09-15Public domain