{"id":"CVE-2026-39833","aliases":["CVE-2026-39833","GHSA-jppx-rxg9-jmrx","GO-2026-5005"],"related":["CGA-h9w7-6ppp-6fx8"],"kind":"vulnerability","state":"published","title":"Invoking  key constraints not enforced in golang.org/x/crypto/ssh/agent","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El llavero en memoria devuelto por NewKeyring() aceptó silenciosamente claves con la restricción ConfirmBeforeUse pero nunca la aplicó. La clave firmaría sin ninguna solicitud de confirmación, sin ninguna indicación al llamador de que la restricción no estaba en vigor. NewKeyring() ahora devuelve un error cuando se solicitan restricciones no compatibles.","source":"nvd"}],"published":"2026-05-22T02:08:34.000Z","modified":"2026-09-10T03:50:50.029Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-358","CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.52.0","status":"affected"}],"vendor":"golang.org/x/crypto","product":"golang.org/x/crypto/ssh/agent","package":"golang.org/x/crypto/ssh/agent","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.52.0"}],"ecosystem":"Go","package":"golang.org/x/crypto","purl":"pkg:golang/golang.org/x/crypto","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.52.0"}],"ecosystem":"Go","package":"golang.org/x/crypto","purl":"pkg:golang/golang.org/x/crypto","source":"go"},{"ranges":[{"status":"affected","fixed":"0.52.0"}],"vendor":"golang","product":"crypto","cpe":"cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://go.dev/issue/79436","tags":["issue-tracking","report","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://go.dev/cl/778642","tags":["fix"],"sources":["cvelist","go","nvd"]},{"url":"https://groups.google.com/g/golang-announce/c/a082jnz-LvI","tags":["mailing-list","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://pkg.go.dev/vuln/GO-2026-5005","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39833","tags":["advisory"],"sources":["ghsa"]},{"url":"https://cs.opensource.google/go/x/crypto","tags":["package"],"sources":["ghsa"]},{"url":"https://go.dev/cl/778640","tags":["web"],"sources":["ghsa"]},{"url":"https://go.dev/cl/778641","tags":["web"],"sources":["ghsa"]}],"credits":["NCC Group Cryptography Services, sponsored by Teleport"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-05-22T18:57:41.103Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39833","url":"https://www.cve.org/CVERecord?id=CVE-2026-39833","licence":"CVE Terms of Use","modified":"2026-08-11T21:28:47.545Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jppx-rxg9-jmrx","url":"https://github.com/advisories/GHSA-jppx-rxg9-jmrx","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:50.029Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5005","url":"https://pkg.go.dev/vuln/GO-2026-5005","licence":"CC-BY-4.0","modified":"2026-08-11T21:30:12.082Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39833","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39833","licence":"Public domain","modified":"2026-08-11T22:17:25.250Z"}],"updatedAt":"2026-11-25T22:59:22.157Z","epss":{"score":0.00487,"percentile":0.34676,"date":"2026-11-30T12:00:22.000Z"}}