Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.4
CVE-2026-42508: LXD and related Go packages could allow login bypass
CVE-2026-42508 · published 6 months ago
Summary
The Go libraries used by LXD, Snapd, the Google Guest Agent and Debian's Go package did not correctly check if a certificate authority's key had been revoked, potentially letting an attacker bypass authentication. Updating the software to the latest versions fixes the check, so ensure your systems are patched promptly.
What to do
- Update canonical golang-go.crypto to version 1:0.0~git20211202.5770296-1ubuntu0.1~esm2.
- Update canonical golang-go.crypto to version 1:0.19.0-1ubuntu0.1~esm2.
- Update canonical golang-go.crypto to version 1:0.47.0-1ubuntu0.1~esm1.
- Update bellsoft podman to version 5.8.4-r0.
- Update x golang.org/x/crypto to version 0.52.0.
- Update golang.org x to version 0.52.0.
- Update x rootio-golang.org/x/crypto to version v0.45.0-root.io.1.
- Update x golang.org/x/crypto to version v0.45.0-aikido.1.
- Update x rootio-golang.org/x/crypto to version v0.31.0-root.io.8.
- Update x golang.org/x/crypto to version v0.31.0-aikido.8.
- Update x rootio-golang.org/x/crypto to version v0.35.0-root.io.3.
- Update x golang.org/x/crypto to version v0.35.0-aikido.3.
- Update x rootio-golang.org/x/crypto to version v0.45.0-root.io.2.
- Update x golang.org/x/crypto to version v0.45.0-aikido.2.
- Update x rootio-golang.org/x/crypto to version v0.46.0-root.io.2.
- Update x golang.org/x/crypto to version v0.46.0-aikido.2.
- Update canonical lxd to version 2.0.11-0ubuntu1~16.04.4+esm3.
- Update canonical lxd to version 3.0.3-0ubuntu1~18.04.2+esm3.
- Update canonical golang-go.crypto to version 1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm2.
- Update canonical golang-go.crypto to version 1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2.
- Update debian golang-go.crypto to version 1:0.52.0-1.
- Update x golang.org/x/crypto to version v0.32.0-aikido.3.
- Update x rootio-golang.org/x/crypto to version v0.32.0-root.io.3.
- Update x golang.org/x/crypto to version v0.32.0-aikido.5.
- Update x rootio-golang.org/x/crypto to version v0.32.0-root.io.5.
- Update x golang.org/x/crypto to version v0.32.0-aikido.4.
- Update x rootio-golang.org/x/crypto to version v0.32.0-root.io.4.
- Update x golang.org/x/crypto to version v0.31.0-aikido.9.
- Update x rootio-golang.org/x/crypto to version v0.31.0-root.io.9.
- Update x golang.org/x/crypto to version v0.45.0-aikido.3.
- Update x rootio-golang.org/x/crypto to version v0.45.0-root.io.3.
- Update x golang.org/x/crypto to version v0.27.0-aikido.1.
- Update x rootio-golang.org/x/crypto to version v0.27.0-root.io.1.
- Update x golang.org/x/crypto to version v0.21.0-aikido.1.
- Update x rootio-golang.org/x/crypto to version v0.21.0-root.io.1.
- Update x golang.org/x/crypto to version v0.35.0-aikido.6.
- Update x golang.org/x/crypto to version v0.38.0-aikido.1.
- Update x rootio-golang.org/x/crypto to version v0.38.0-root.io.1.
- Update x golang.org/x/crypto to version v0.27.0-aikido.2.
- Update x rootio-golang.org/x/crypto to version v0.27.0-root.io.2.
- Update x golang.org/x/crypto to version v0.21.0-aikido.2.
- Update x rootio-golang.org/x/crypto to version v0.21.0-root.io.2.
- Update x golang.org/x/crypto to version v0.45.0-aikido.4.
- Update x rootio-golang.org/x/crypto to version v0.45.0-root.io.4.
- Update golang crypto to version 0.52.0 or later.
- Update golang.org/x/crypto golang.org/x/crypto/ssh/knownhosts to version 0.52.0 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Ubuntu:Pro:18.04:LTS | canonical | lxd |
< 3.0.3-0ubuntu1~18.04.2+esm3 Fix: upgrade to 3.0.3-0ubuntu1~18.04.2+esm3
|
| Ubuntu:Pro:18.04:LTS | canonical | snapd | All versions |
| Ubuntu:Pro:18.04:LTS | canonical | golang-go.crypto |
< 1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm2 Fix: upgrade to 1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm2
|
| Ubuntu:Pro:18.04:LTS | canonical | google-guest-agent | All versions |
| Ubuntu:Pro:20.04:LTS | canonical | google-guest-agent | All versions |
| Ubuntu:Pro:20.04:LTS | canonical | snapd | All versions |
| Ubuntu:Pro:20.04:LTS | canonical | golang-go.crypto |
< 1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2 Fix: upgrade to 1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2
|
| Ubuntu:22.04:LTS | canonical | google-guest-agent | All versions |
| Ubuntu:22.04:LTS | canonical | snapd | All versions |
| Ubuntu:Pro:22.04:LTS | canonical | golang-go.crypto |
< 1:0.0~git20211202.5770296-1ubuntu0.1~esm2 Fix: upgrade to 1:0.0~git20211202.5770296-1ubuntu0.1~esm2
|
| Ubuntu:24.04:LTS | canonical | google-guest-agent | All versions |
| Ubuntu:24.04:LTS | canonical | snapd | All versions |
| Ubuntu:Pro:24.04:LTS | canonical | golang-go.crypto |
< 1:0.19.0-1ubuntu0.1~esm2 Fix: upgrade to 1:0.19.0-1ubuntu0.1~esm2
|
| Ubuntu:25.10 | canonical | golang-go.crypto | All versions |
| Ubuntu:Pro:26.04:LTS | canonical | golang-go.crypto |
< 1:0.47.0-1ubuntu0.1~esm1 Fix: upgrade to 1:0.47.0-1ubuntu0.1~esm1
|
| Debian:11 | debian | golang-go.crypto | All versions |
| Debian:12 | debian | golang-go.crypto | All versions |
| Debian:13 | debian | golang-go.crypto | All versions |
| Debian:14 | debian | golang-go.crypto |
< 1:0.52.0-1 Fix: upgrade to 1:0.52.0-1
|
| Alpaquita:stream | bellsoft | osv-scanner | >= 2.1.0-r2 |
| Alpaquita:stream | bellsoft | podman |
>= 4.5.1-r1, < 5.8.4-r0 Fix: upgrade to 5.8.4-r0
|
| Go | x | golang.org/x/crypto |
< 0.52.0 Fix: upgrade to 0.52.0
|
| Ubuntu:Pro:16.04:LTS | canonical | golang-go.crypto | All versions |
| Ubuntu:Pro:16.04:LTS | canonical | lxd |
< 2.0.11-0ubuntu1~16.04.4+esm3 Fix: upgrade to 2.0.11-0ubuntu1~16.04.4+esm3
|
| Ubuntu:Pro:16.04:LTS | canonical | snapd | All versions |
| Ubuntu:Pro:16.04:LTS | canonical | google-guest-agent | All versions |
| Ubuntu:25.10 | canonical | google-guest-agent | All versions |
| Ubuntu:25.10 | canonical | snapd | All versions |
| Ubuntu:26.04:LTS | canonical | golang-go.crypto | All versions |
| Ubuntu:26.04:LTS | canonical | google-guest-agent | All versions |
| Ubuntu:26.04:LTS | canonical | snapd | All versions |
| – | golang | crypto |
< 0.52.0 cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:* |
| go | golang.org | x |
< 0.52.0 Fix: upgrade to 0.52.0
|
| Root:Go | x | rootio-golang.org/x/crypto |
< v0.45.0-root.io.1 < v0.31.0-root.io.8 < v0.35.0-root.io.3 < v0.45.0-root.io.2 < v0.46.0-root.io.2 < v0.32.0-root.io.3 < v0.32.0-root.io.5 < v0.32.0-root.io.4 < v0.31.0-root.io.9 < v0.45.0-root.io.3 < v0.27.0-root.io.1 < v0.21.0-root.io.1 4 more version ranges
Fix: upgrade to v0.45.0-root.io.1
|
| Root:Go | x | golang.org/x/crypto |
< v0.45.0-aikido.1 < v0.31.0-aikido.8 < v0.35.0-aikido.3 < v0.45.0-aikido.2 < v0.46.0-aikido.2 < v0.32.0-aikido.3 < v0.32.0-aikido.5 < v0.32.0-aikido.4 < v0.31.0-aikido.9 < v0.45.0-aikido.3 < v0.27.0-aikido.1 < v0.21.0-aikido.1 5 more version ranges
Fix: upgrade to v0.45.0-aikido.1
|
| – | golang.org/x/crypto | golang.org/x/crypto/ssh/knownhosts | < 0.52.0 |
| Alpaquita:23 | bellsoft | buildah | >= 1.28.0-r1 |
| Alpaquita:23 | bellsoft | containerd | >= 1.6.10-r0 |
| Alpaquita:23 | bellsoft | podman | >= 4.3.1-r0 |
| Alpaquita:23 | bellsoft | skopeo | >= 1.10.0-r2 |
| Alpaquita:25 | bellsoft | buildah | >= 1.40.0-r0 |
| Alpaquita:25 | bellsoft | containerd | >= 2.1.1-r0 |
| Alpaquita:25 | bellsoft | docker-cli-buildx | >= 0.24.0-r0 |
| Alpaquita:25 | bellsoft | google-guest-agent | >= 20250521.00-r0 |
| Alpaquita:25 | bellsoft | osv-scanner | >= 2.1.0-r4 |
| Alpaquita:25 | bellsoft | podman | >= 5.5.0-r0 |
| Alpaquita:25 | bellsoft | skopeo | >= 1.18.0-r2 |
| Alpaquita:stream | bellsoft | buildah | >= 1.31.0-r0 |
| Alpaquita:stream | bellsoft | calicoctl | >= 3.31.3-r0 |
| Alpaquita:stream | bellsoft | cilium-cli | >= 0.19.0-r12 |
Showing 50 of 57. Show the rest
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Alpaquita:stream | bellsoft | containerd | >= 1.7.2-r1 |
| Alpaquita:stream | bellsoft | docker-cli-buildx | >= 0.11.0-r0 |
| Alpaquita:stream | bellsoft | etcd | >= 3.6.4-r6 |
| Alpaquita:stream | bellsoft | google-guest-agent | >= 20250214.01-r0 |
| Alpaquita:stream | bellsoft | grype | >= 0.100.0-r0 |
| Alpaquita:stream | bellsoft | helm | >= 3.19.0-r4 |
| Alpaquita:stream | bellsoft | skopeo | >= 1.13.0-r1 |
Original advisory text
Invoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts
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.
References
- https://ubuntu.com/security/notices/USN-8447-2 Vendor Advisory
- https://github.com/advisories/GHSA-5cgq-3rg8-m6cv
- https://ubuntu.com/security/CVE-2026-42508 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-42508 Third Party Advisory
- https://github.com/golang/crypto/commit/f717e29698a271c548239ed56bf5dd9516d6f7e8 Third Party Advisory
- https://ubuntu.com/security/notices/USN-8447-1 Vendor Advisory
- https://docs.bell-sw.com/security/cves/CVE-2026-42508 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:40138
- https://go.dev/cl/781220 Patch
- https://access.redhat.com/errata/RHSA-2026:23264 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:26546 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:36651 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-42508 Vendor Advisory
- https://pkg.go.dev URL
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42508.json URL
- https://access.redhat.com/errata/RHSA-2026:23262 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:26547 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:35833 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:36648 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:36796 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:42796 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:51288 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:52857 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:52910 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:54400 Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-42508 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42508... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-42508 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:40945 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:41019 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:41031 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:41066 Vendor Advisory
- https://go.dev/issue/79568 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:42146 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:43052 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:43692 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2480688 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:41036 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:41064 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:65126 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:66022 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:66521 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:67450 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:36797 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:36808 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:37072 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:37123 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:37387 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:40118 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:47735 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:40262 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:46885 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:47737 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:49944 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:51033 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:57194 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:59467 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:60520 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:61314 Vendor Advisory
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI URL
- https://pkg.go.dev/vuln/GO-2026-5021 Third Party Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Severity
7.4
High
Type
CWE-295Improper Certificate Validation
Timeline
Published22 May 2026
Updated14 Nov 2026
First seen22 May 2026
Sources
UBUNTU-CVE-2026-42508 · OSV
DEBIAN-CVE-2026-42508 · OSV
BELL-CVE-2026-42508 · OSV
GO-2026-5021 · OSV
CVE-2026-42508 · NVD
GHSA-5cgq-3rg8-m6cv · GHSA
CVE-2026-42508 · MITRE
CVE-2026-42508 · OSV
Track software like this
Free during beta