# CVE-2026-39833: Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 35% of CVEs (2026-11-30)
- Published: 2026-05-22T02:08:34.000Z
- Modified: 2026-09-10T03:50:50.029Z
- Also known as: GHSA-jppx-rxg9-jmrx, GO-2026-5005
- Related: CGA-h9w7-6ppp-6fx8
- Weaknesses: CWE-358, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Go

## 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.

(As written by CVE List.)

## Affected

- golang.org/x/crypto/ssh/agent: before 0.52.0
- golang.org/x/crypto (Go): before 0.52.0
- golang crypto: before 0.52.0

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://go.dev/issue/79436> (issue-tracking, report, web)
- <https://go.dev/cl/778642> (fix)
- <https://groups.google.com/g/golang-announce/c/a082jnz-LvI> (mailing-list, web)
- <https://pkg.go.dev/vuln/GO-2026-5005> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39833> (advisory)
- <https://cs.opensource.google/go/x/crypto> (package)
- <https://go.dev/cl/778640> (web)
- <https://go.dev/cl/778641> (web)

## Sources

- CVE List: [CVE-2026-39833](https://www.cve.org/CVERecord?id=CVE-2026-39833), CVE Terms of Use, modified 2026-08-11
- GitHub Advisory Database: [GHSA-jppx-rxg9-jmrx](https://github.com/advisories/GHSA-jppx-rxg9-jmrx), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5005](https://pkg.go.dev/vuln/GO-2026-5005), CC-BY-4.0, modified 2026-08-11
- NVD: [CVE-2026-39833](https://nvd.nist.gov/vuln/detail/CVE-2026-39833), Public domain, modified 2026-08-11

---

Page: https://cve.day/CVE-2026-39833 · Whole record: https://cve.day/CVE-2026-39833.json · Rebuilt by cve.day 2026-11-25T22:59:22.157Z
