CVE-2026-40243
Published: Wed, 06 May 2026 21:16
Summary
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.
Details
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.
Are YOU affected by CVE-2026-40243?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether CVE-2026-40243 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
References
- 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
- https://github.com/lxc/incus/security/advisories/GHSA-c839-4qxr-j4x3
- https://github.com/lxc/incus/security/advisories/GHSA-c839-4qxr-j4x3
StackPatch runs this match against YOUR installed packages every hour
Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.