Description
Incus is a system container and virtual machine manager. In versions before 7.0.0, broken TLS validation logic in the OVN database connection logic can allow connections to an attacker's OVN database. The OVN client implementations disable Go standard TLS server verification and replace it with custom peer-certificate verification logic. That replacement verifier does not anchor trust in the configured CA certificate. Instead, it constructs the verification root set from certificates supplied by the peer during the handshake, so the configured CA is parsed but not used as the trust anchor for the final verification decision.
In OVN-enabled deployments that use these SSL database connection paths, an attacker able to impersonate or intercept the OVN endpoint on the management network can present a rogue self-signed certificate chain, and Incus will accept this certificate as valid. This issue defeats the intended CA-based trust model for OVN database connections and permits endpoint impersonation by an active attacker in a suitable network position. This issue is fixed in version 7.0.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lxc | incus | < 7.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | incus | 7.0.0-1 | — |
| Debian 13 | incus | 6.0.4-2+deb13u7 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | incus | No fix yet | — |
| Ubuntu 25.10 | incus | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | incus | No fix yet | — |
| Ubuntu Pro 24.04 LTS | incus | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | incus | 7.0.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/lxc/incus | all versions | — | GO-2026-5319 |
| Go | github.com/lxc/incus/v6 | all versions | — | GO-2026-5319 |
| Go | github.com/lxc/incus/v6/cmd/incusd | < 7.0.0 | 7.0.0 | GHSA-c839-4qxr-j4x3 |
| Go | github.com/lxc/incus/v7 | < 7.0.0 | 7.0.0 | GO-2026-5319 |
Advisories 1
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
References
- https://github.com/lxc/incus/security/advisories/GHSA-c839-4qxr-j4x3
- https://github.com/lxc/incus/blob/v6.22.0/internal/server/network/ovn/ovn_icnb.go
- https://github.com/lxc/incus/blob/v6.22.0/internal/server/network/ovn/ovn_icsb.go
- https://github.com/lxc/incus/blob/v6.22.0/internal/server/network/ovn/ovn_nb.go
- https://github.com/lxc/incus/blob/v6.22.0/internal/server/network/ovn/ovn_sb.go