# CVE-2026-40243: Incus OVN TLS verification accepts peer-supplied roots and permits endpoint impersonation

- Priority: **Routine**
- Reason: Not severe (CVSS 2.3, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-06 · Modified: 2026-05-07
- Aliases: UBUNTU-CVE-2026-40243, DEBIAN-CVE-2026-40243, GHSA-c839-4qxr-j4x3, GO-2026-5319, ALPINE-CVE-2026-40243
- Record: https://cvemate.com/vulnerability/CVE-2026-40243 · JSON: https://cvemate.com/vulnerability/CVE-2026-40243/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.181%, percentile 8.017%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine incus (Alpine Linux): \< 7.0.0-r0
- alpine incus-feature (Alpine Linux): \< 7.0.0-r0
- debian incus (Debian): \< 6.0.4-2+deb13u7 \| \< 7.0.0-1
- ubuntu incus (Ubuntu): All versions (No fix recorded)
- github.com/lxc incus (Go): All versions (No fix recorded)
- github.com/lxc/incus v6 (Go): All versions (No fix recorded)
- github.com/lxc/incus v7 (Go): \< 7.0.0
- github.com/lxc/incus/v6/cmd incusd (Go): \< 7.0.0
- linuxcontainers incus: \< 7.0.0
- lxc incus: \< 7.0.0

## 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>
- <https://ubuntu.com/security/CVE-2026-40243>
- <https://www.cve.org/CVERecord?id=CVE-2026-40243>
- <https://github.com/lxc/incus/pull/3273>
- <https://security-tracker.debian.org/tracker/CVE-2026-40243>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40243>
- <https://github.com/lxc/incus>
- <https://security.alpinelinux.org/vuln/CVE-2026-40243>

---

Data as of 2026-12-05T04:10:42.292Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
