{"id":"CVE-2026-39833","published":"2026-05-22T02:31:26Z","modified":"2026-08-11T21:28:47Z","title":"Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent","vendor":"golang.org/x/crypto","product":"golang.org/x/crypto/ssh/agent","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00469,"percentile":0.41473,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/79436","tags":[]},{"url":"https://go.dev/cl/778642","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/a082jnz-LvI","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-5005","tags":[]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":8.29},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"golang-org-x-crypto","affectedVersions":[{"vendor":"golang.org/x/crypto","product":"golang.org/x/crypto/ssh/agent","versions":["< 0.52.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-22T18:57:41.103317Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"golang.org/x/crypto","vulnerableRanges":["<0.52.0"],"patched":["0.52.0"],"from":["GHSA-jppx-rxg9-jmrx","GO-2026-5005"],"provenance":"source"}],"summary":{"text":"The in-memory keyring returned by NewKeyring() in golang.org/x/crypto/ssh/agent accepted keys carrying the ConfirmBeforeUse constraint without enforcing it, so those keys could sign without any confirmation prompt and with no indication to the caller that the constraint was inactive. An attacker able to reach the affected keyring over the network, without authentication or user interaction, could cause keys to be used for signing without the confirmation the caller expected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:39Z"},"euvd":{"id":"EUVD-2026-31389","exploited":false,"provenance":"source"}}