Incus OVN TLS verification accepts peer-supplied roots and permits endpoint impersonation (lxc incus)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % Β· percentile 7 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-295 β Improper Certificate Validation
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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | LOW 2.3 | 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 | GitHub_M |
| CVSS 4.0 | LOW 2.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD Β· security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-c839-4qxr-j4x3 β Incus has an OVN TLS Verification that Accepts Peer-Supplied Roots
- GO-2026-5319 β Incus has an OVN TLS Verification that Accepts Peer-Supplied Roots in github.com/lxc/incus
European references
- ENISA EUVD Β· EUVD-2026-28211
- GCVE Β· GCVE-0-2026-40243
Affected configurations (NVD CPE)
cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:*< 7.0.0
Affected products
| Product | Versions |
|---|---|
| lxc Β· incus | affected < 7.0.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |