critical

CVE-2026-39833

Go · golang.org/x/crypto/ssh/agent • Go · golang.org/x/crypto

Summary

golang.org/x/crypto/ssh/agent doesn't enforce invoking key constraints

Severity
critical
CVSS
9.1
EPSS
0.4% (p35)
CWE
CWE-862
Also known as
GHSA-jppx-rxg9-jmrx, GO-2026-5005
Published
2026-06-25
Updated
2026-06-25

Advisory details

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.

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.