{"cve":"CVE-2026-40243","nvd":{"published":"2026-05-06T21:16:01.070","modified":"2026-10-26T19:10:00.163","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.\n\nIn 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.","cvss_v4":{"vector":"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","score":2.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8},"cwes":["CWE-295"],"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"],"products":["linuxcontainers:incus"],"source":"nvd","synced_at":"2026-10-26T19:31:02.781428341+00:00"},"epss":{"cve":"CVE-2026-40243","score":0.00173,"percentile":0.06675,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-c839-4qxr-j4x3","url":"https://osv.dev/vulnerability/GHSA-c839-4qxr-j4x3","summary":"Incus has an OVN TLS Verification that Accepts Peer-Supplied Roots","modified":"2026-06-25T19:56:24.269893861Z","packages":[{"ecosystem":"Go","name":"github.com/lxc/incus/v6/cmd/incusd","purl":"pkg:golang/github.com/lxc/incus/v6/cmd/incusd","ranges":["<7.0.0"],"fixed":["7.0.0"]}]},{"id":"GO-2026-5319","url":"https://osv.dev/vulnerability/GO-2026-5319","summary":"Incus has an OVN TLS Verification that Accepts Peer-Supplied Roots in github.com/lxc/incus","modified":"2026-06-25T19:45:28.732727219Z","packages":[{"ecosystem":"Go","name":"github.com/lxc/incus","purl":"pkg:golang/github.com/lxc/incus","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/lxc/incus/v6","purl":"pkg:golang/github.com/lxc/incus/v6","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/lxc/incus/v7","purl":"pkg:golang/github.com/lxc/incus/v7","ranges":["<7.0.0"],"fixed":["7.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}