CVE-2026-40243
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 3 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 6.0.4-2+deb13u7 |
| sid | Fixed | 7.0.0-1 |
| forky | Fixed | 7.0.0-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/lxc/incus/v6/cmd/incusd | <7.0.0 | 7.0.0 |
| GO | github.com/lxc/incus/v6/cmd/incusd | < 7.0.0 | 7.0.0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linuxcontainers | incus | {"endExcluding":"7.0.0"} | 7.0.0 |
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://nvd.nist.gov/vuln/detail/CVE-2026-40243
- https://github.com/lxc/incus
- https://security-tracker.debian.org/tracker/CVE-2026-40243
- https://github.com/advisories/GHSA-c839-4qxr-j4x3
CWEs
CWE-295
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.