Advisory

GHSA-f5wc-c3c7-36mc

Also known as: CVE-2026-39832, GO-2026-5006

Summary

golang.org/x/crypto doesn't drop invoking agent constraints when forwarding keys

Details

When adding a key to a remote agent constraint extensions such as [email protected] were not serialized in the request. Destination restrictions were silently stripped when forwarding keys, allowing unrestricted use of the key on the remote host. The client now serializes all constraint extensions. Additionally, the in-memory keyring returned by NewKeyring() now rejects keys with unsupported constraint extensions instead of silently ignoring them.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-06-25 22:14 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