Critical severity · published May 22, 2026
CVE-2026-39832
Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
9.1
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 52% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
golang.org/x/crypto/ssh/agent · golang.org/x/crypto
before 0.52.0 · source: vendor
CR
Crypto · Golang
before 0.52.0 · source: NVD
AI
Assisted Installer for Red Hat OpenShift Container Platform 2 · Red Hat
All versions, or not specified · source: CISA
CO
Cluster Observability Operator 1.5.0 · Red Hat
All versions, or not specified · source: CISA
ES
External Secrets Operator for Red Hat OpenShift · Red Hat
All versions, or not specified · source: CISA
LS
Logging Subsystem for Red Hat OpenShift 6.6 · Red Hat
All versions, or not specified · source: CISA
OA
OpenShift API for Data Protection 1.6 · Red Hat
All versions, or not specified · source: CISA
OP
OpenShift Pipelines · Red Hat
All versions, or not specified · source: CISA
OS
OpenShift Serverless · Red Hat
All versions, or not specified · source: CISA
R1
RHEM 1.0 for RHEL 9 · Red Hat
All versions, or not specified · source: CISA
R1
RHEM 1.1 for RHEL 10 · Red Hat
All versions, or not specified · source: CISA
R1
RHEM 1.1 for RHEL 9 · Red Hat
All versions, or not specified · source: CISA
Affected product
GO
golang.org/x/crypto/ssh/agent
golang.org/x/crypto
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-39832
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-39832
go.dev
https://go.dev/cl/778640
go.dev
https://go.dev/cl/778641
Issue Tracking
https://go.dev/issue/79435
Mailing List
https://groups.google.com/g/golang-announce/c/a082jnz-LvI
Vendor Advisory
https://pkg.go.dev/vuln/GO-2026-5006
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:35833
More from golang.org/x/crypto/ssh/agent
9.1
CVE-2026-39833
Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent
7.5
CVE-2025-47913
Potential denial of service in golang.org/x/crypto/ssh/agent
5.3
CVE-2026-46598
Invoking pathological inputs can lead to client panic in golang.org/x/crypto/ssh/agent
5.3
CVE-2025-47914
Malformed constraint may cause denial of service in golang.org/x/crypto/ssh/agent
