CVE-2026-40243

Medium

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.

SeverityMedium
CVSS4.8
Exploit probability—
ProductLinuxcontainers Incus
PublishedMay 6, 2026
First seenMay 6, 2026
Weakness typeCWE-295CWE-295

How to fix

Update
  • linuxcontainers incus7.0.0 or later
  • github.com/lxc/incus/v6/cmd/incusd7.0.0 or later
  • github.com/lxc/incus/v77.0.0 or later

Affected products

ProductAffected versionsFixed in
linuxcontainers incusv < 7.0.07.0.0
github.com/lxc/incus/v6/cmd/incusdGov < 7.0.07.0.0
github.com/lxc/incusGoNo range specified—
github.com/lxc/incus/v6GoNo range specified—
github.com/lxc/incus/v7Gov < 7.0.07.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-40243 · Linuxcontainers Incus · Dark Radar