9.1Critical

CVE-2026-39832Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent

golang.org/x/crypto golang.org/x/crypto/ssh/agent; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 8.… Published: (5 months ago)

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.

Weakness (CWE): CWE-281CWE-502

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
advanced cluster security 4.10 —
advanced cluster security 4.9 —
cluster observability operator 1.5 —
edge manager 1.0 —
edge manager 1.1 —
golang crypto < 0.52.0
golang.org/x/crypto golang.org/x/crypto/ssh/agent < 0.52.0
logging 6.6 —
multicluster engine 2.11 —
multicluster engine 2.6 —
openshift api data protection 1.6 —
openshift builds 1.7 —
openshift builds 1.8 —
openshift data foundation 4.22 —
openshift gitops 1.19 —
openshift gitops 1.20 —
quay 3.10 —
quay 3.12 —
quay 3.15 —
quay 3.16 —
quay 3.9 —
Red Hat Cluster Observability Operator 1.5.0 all versions
Red Hat Logging Subsystem for Red Hat OpenShift 6.6 all versions
Red Hat multicluster engine for Kubernetes 2.11 all versions
Red Hat multicluster engine for Kubernetes 2.6 all versions
Red Hat OpenShift API for Data Protection 1.6 all versions
Red Hat Red Hat Advanced Cluster Security 4.9 all versions
Red Hat Red Hat Advanced Cluster Security for Kubernetes 4.10 all versions
Red Hat Red Hat Edge Manager 1.0 all versions
Red Hat Red Hat Edge Manager 1.1 all versions
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service all versions
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat OpenShift Builds 1.7.3 all versions
Red Hat Red Hat OpenShift Builds 1.8.1 all versions
Red Hat Red Hat Openshift Data Foundation 4.22 all versions
Red Hat RHEM 1.0 for RHEL 9 all versions
Red Hat RHEM 1.1 for RHEL 10 all versions
Red Hat RHEM 1.1 for RHEL 9 all versions
trusted artifact signer 1.3 —
trusted artifact signer 1.4 —

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:* < 0.52.0