Vulnerability · Published May 6, 2026 · Assigned by GitHub_M

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

Low 2.3

In plain English

A low-severity improper certificate validation in incus from lxc. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)2.3Low
Exploit odds (30 days)0.2%top 93.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24incus7.0.0-r0ALPINE-CVE-2026-40243
Debian:13incus6.0.4-2+deb13u7DEBIAN-CVE-2026-40243
Debian:14incus7.0.0-1DEBIAN-CVE-2026-40243
Gogithub.com/lxc/incusno fix listedGO-2026-5319
Gogithub.com/lxc/incus/v6no fix listedGO-2026-5319
Gogithub.com/lxc/incus/v6/cmd/incusd7.0.0GHSA-c839-4qxr-j4x3
Gogithub.com/lxc/incus/v77.0.0GO-2026-5319
Ubuntu:25.10incusno fix listedUBUNTU-CVE-2026-40243
Ubuntu:26.10incusno fix listedUBUNTU-CVE-2026-40243

Affected products (as reported)

VendorProductVersions
lxc incus < 7.0.0

Weakness: CWE-295 · 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

References