
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-40243 is an improper certificate validation vulnerability in Incus (the Linux container and VM manager) affecting its OVN database connection logic. The flaw allows an attacker with a suitable network position to redirect Incus connections to a rogue OVN database by presenting a self-signed certificate that the broken TLS verifier accepts. All versions of github.com/lxc/incus/v6/cmd/incusd prior to 7.0.0 are affected. The vulnerability was discovered by the team at 7asecurity, published on April 30, 2026, and assigned a CVSS v4 base score of 2.3 (Low) and a CVSS v3.1 base score of 4.8 (Medium) (GitHub Advisory, Incus Advisory).
The root cause is classified as CWE-295 (Improper Certificate Validation) and CWE-287 (Improper Authentication). Incus's OVN client implementations in ovn_nb.go, ovn_sb.go, ovn_icnb.go, and ovn_icsb.go set InsecureSkipVerify: true and replace Go's standard TLS verification with a custom VerifyPeerCertificate callback. The critical flaw in this callback is that it builds the trust root pool (roots) from the raw certificates supplied by the peer during the TLS handshake — rather than from the operator-configured CA certificate (tlsCAcert). The configured CA pool (clientCAPool) is constructed but never referenced in the final x509.VerifyOptions, meaning any attacker-supplied self-signed certificate chain will pass verification. A standalone Go proof-of-concept (poc_ovn_tls_roots.go) is included in the advisory and demonstrates the flaw without requiring a live network interception setup (GitHub Advisory, Incus Advisory).
A network-adjacent attacker who can intercept or impersonate the OVN northbound or southbound database endpoint can cause Incus to connect to a rogue OVSDB instance, resulting in limited confidentiality and integrity impact (CVSS v4: VC:L/VI:L). Because OVN's mTLS requires the attacker to also authenticate to the real OVN deployment — which they cannot do — a full man-in-the-middle attack is not achievable; at best, the attacker can serve an empty replacement database that Incus briefly interacts with before encountering errors. The OVN northbound and southbound databases are authoritative control-plane interfaces for logical network configuration, so even transient misdirection represents a control-plane authentication failure with potential networking impact in clustered deployments (GitHub Advisory).
A public proof-of-concept exploit (poc_ovn_tls_roots.go) is included in the official GitHub Security Advisory and demonstrates that the flawed verification logic accepts a rogue self-signed certificate (Incus Advisory). There is no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.009% (3rd percentile), reflecting very low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires high attack complexity — specifically, the ability to intercept or impersonate the OVN database service on the management network, which is typically co-located with Incus servers and not externally routable (GitHub Advisory).
ssl: prefix in OVN DB address configuration).poc_ovn_tls_roots.go or standard tools like openssl). The certificate does not need to be signed by the legitimate CA.VerifyPeerCertificate callback will accept the rogue certificate because it builds the trust root from peer-supplied certificates rather than the configured CA.incusd) showing OVN connection errors or repeated reconnection attempts shortly after establishing a connection (indicative of interaction with an empty/rogue database); OVSDB client errors referencing unexpected schema or missing entries.Upgrade Incus to version 7.0.0 or later, which fixes the broken VerifyPeerCertificate logic by anchoring trust in the operator-configured CA pool rather than peer-supplied certificates (GitHub Advisory, Incus Advisory). As a compensating control, implement strict network segmentation to ensure OVN database ports are accessible only from authorized Incus servers (e.g., via firewall rules or dedicated management VLANs), reducing the attacker's ability to intercept or impersonate the OVN endpoint. Monitor management network traffic for ARP anomalies or unexpected connections to OVN database ports.
The vulnerability was discovered and responsibly disclosed by the security research team at 7asecurity. The Incus maintainer (stgraber) published the advisory and patch on April 30, 2026. The advisory itself characterizes the practical exploitability as "extremely difficult" given that the OVN control plane is typically co-located with Incus on the same servers with no routing between them (Incus Advisory). Tenable's Nessus scanner (plugin 311800) added detection for this vulnerability shortly after disclosure.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."