Advisory

GHSA-jppx-rxg9-jmrx

Also known as: CVE-2026-39833, GO-2026-5005

Summary

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

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-06-25 22:13 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

golang.org/x/crypto

Go · All systems

Affected

  • introduced 0, fixed 0.52.0 (semver)

Fixed versions

0.52.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences