CVE-2026-39832
CRITICAL9.1EPSS 0.07%Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
Published: 5/22/2026Modified: 5/29/2026
Description
When adding a key to a remote agent constraint extensions such as [email protected] 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 packages (2)
- Debian/golang-go.cryptofrom 0
- Go/golang.org/x/cryptofrom 0, < 0.52.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |