PoC Monitor
← All CVEs
CVE-2026-39833published 22 May 2026 02:31 UTCData: JSON · API

golang.org/x/crypto golang.org/x/crypto/ssh/agent

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.1critical · scored by CISA ADP · CWE-358
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

golang.org/x/crypto golang.org/x/crypto/ssh/agent
  • < 0.52.0

Fixed in 0.52.0

Mitigation

Upgrade golang.org/x/crypto/ssh/agent to 0.52.0 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published22 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.