Paper/Archive/CVE-2026-39833

CVE-2026-39833

golang.org/x/crypto golang.org/x/crypto/ssh/agent — Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent

Description · from the CVE record

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

ProductAffectedFixed inSource
golang.org/x/crypto/ssh/agent< 0.52.00.52.0CNA

Scores by source

CISA ADP9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgo.dev/issue/79436refgo.dev/cl/778642refgroups.google.com/g/golang-announce/c/a082jnz-LvIrefpkg.go.dev/vuln/GO-2026-5005