CriticalGHSA-5cgq-3rg8-m6cvCVE-2026-42508GO-2026-5021
golang.org/x/crypto vulnerable to auth bypass via unenforced @revoked status
Published 25 Jun 2026 · Updated 10 Sept 2026
Is your project on an affected golang.org/x/crypto?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <0.52.0
- Fixed in
- 0.52.0
Update to the fixed version for your release line, for example:
go get golang.org/x/crypto@v0.52.0Details
Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key' and 'key.SignatureKey' are checked for @revoked.
Is GHSA-5cgq-3rg8-m6cv in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected golang.org/x/crypto, and gives you the command that fixes it.
More advisories for golang.org/x/crypto
- LowCVE-2026-78662Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh · 2 Sept 2026
- LowCVE-2026-56855Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh · 2 Sept 2026
- LowCVE-2026-56854Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh · 28 Aug 2026
- LowGO-2026-5932The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues · 7 Jul 2026
- CriticalCVE-2026-46595golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement · 25 Jun 2026
- CriticalCVE-2026-39834golang.org/x/crypto vulnerable to infinite loop on large channel writes · 25 Jun 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-42508
- Linksecurity.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42508.json
- Linkpkg.go.dev/vuln/GO-2026-5021
- Linkgroups.google.com/g/golang-announce/c/a082jnz-LvI
- Linkgo.dev/issue/79568
- Linkgo.dev/cl/781220
- Packagecs.opensource.google/go/x/crypto
- Linkbugzilla.redhat.com/show_bug.cgi?id=2480688
- Linkaccess.redhat.com/security/cve/CVE-2026-42508
- Linkaccess.redhat.com/errata/RHSA-2026:41066
- Linkaccess.redhat.com/errata/RHSA-2026:41064
- Linkaccess.redhat.com/errata/RHSA-2026:41036
- Linkaccess.redhat.com/errata/RHSA-2026:41031
- Linkaccess.redhat.com/errata/RHSA-2026:41019
- Linkaccess.redhat.com/errata/RHSA-2026:40945
- Linkaccess.redhat.com/errata/RHSA-2026:40262
- Linkaccess.redhat.com/errata/RHSA-2026:40138
- Linkaccess.redhat.com/errata/RHSA-2026:40118
- Linkaccess.redhat.com/errata/RHSA-2026:37387
- Linkaccess.redhat.com/errata/RHSA-2026:37123
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.