CVE-2026-39833
CRITICAL9.1EPSS 0.04%Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent
Published: 5/22/2026Modified: 5/29/2026
Description
The in-memory keyring returned by NewKeyring() silently accepted keys with the ConfirmBeforeUse constraint but never enforced it. The key would sign without any confirmation prompt, with no indication to the caller that the constraint was not in effect. NewKeyring() now returns an error when unsupported constraints are requested.
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 |