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

- Severity: Low 2.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-04T19:08:01.000Z
- Modified: 2026-10-26T19:10:00.163Z
- Also known as: GHSA-c839-4qxr-j4x3, GO-2026-5319
- Weaknesses: CWE-287, CWE-295
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- lxc incus: < 7.0.0
- github.com/lxc/incus/v6/cmd/incusd (Go): before 7.0.0
- github.com/lxc/incus (Go): all versions
- github.com/lxc/incus/v6 (Go): all versions
- github.com/lxc/incus/v7 (Go): before 7.0.0
- linuxcontainers incus: before 7.0.0

## Every score

- GitHub_M: CVSS:4.0 2.3 Low `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: CVSS:3.1 2.3 Low `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Low `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`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/lxc/incus/security/advisories/GHSA-c839-4qxr-j4x3> (exploit, advisory, vendor-advisory, web)
- <https://github.com/lxc/incus/blob/v6.22.0/internal/server/network/ovn/ovn_icnb.go> (product, web)
- <https://github.com/lxc/incus/blob/v6.22.0/internal/server/network/ovn/ovn_icsb.go> (product, web)
- <https://github.com/lxc/incus/blob/v6.22.0/internal/server/network/ovn/ovn_nb.go> (product, web)
- <https://github.com/lxc/incus/blob/v6.22.0/internal/server/network/ovn/ovn_sb.go> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40243> (advisory)
- <https://github.com/lxc/incus> (package)

## Sources

- CVE List: [CVE-2026-40243](https://www.cve.org/CVERecord?id=CVE-2026-40243), CVE Terms of Use, modified 2026-05-07
- GitHub Advisory Database: [GHSA-c839-4qxr-j4x3](https://github.com/advisories/GHSA-c839-4qxr-j4x3), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5319](https://pkg.go.dev/vuln/GO-2026-5319), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-40243](https://nvd.nist.gov/vuln/detail/CVE-2026-40243), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40243 · Whole record: https://cve.day/CVE-2026-40243.json · Rebuilt by cve.day 2026-11-25T22:59:20.834Z
