CVE-2026-40243
published low CVSS 4.0 · 2.3Incus OVN TLS verification accepts peer-supplied roots and permits endpoint impersonation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| lxc | — | incus< 7.0.0 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | incus | Fixed | 7.0.0-r0 | Package fix record |
| Debian | trixie | incus | Advisory build | 6.0.4-2+deb13u7 | DSA-6244-1 |
| Alpine Linux | v3.24 | incus | Fixed | 7.0.0-r0 | Package fix record |
| Alpine Linux | edge | incus-feature | Fixed | 7.0.0-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lxc | incus | < 7.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-295 CWE-295: Improper Certificate Validation
References
5- 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
Provider assertions
2GitHub_M · cna
Incus OVN TLS verification accepts peer-supplied roots and permits endpoint impersonation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 861793037a3c71290b67a5d752f649ee3a0db02cadf2c6eb8e2234807fbeb6f4
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record