Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 93%

CVE-2026-40243: CWE-295: Improper Certificate Validation in lxc incus

0
Low
VulnerabilityCVE-2026-40243cvecve-2026-40243cwe-295
Published: 05/06/2026 (05/06/2026, 20:38:22 UTC)
Source: CVE Database V5
Vendor/Project: lxc
Product: incus

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.

CVSS v4.0

Score 2.3low

Attack Vector
Adjacent Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
lxc/incus
pkg:github/lxc/incus
Affected versions
<7.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/14/2026, 03:49:25 UTC

Technical Analysis

CVE-2026-40243 describes an improper certificate validation vulnerability (CWE-295) in Incus, a system container and virtual machine manager by lxc. In versions before 7.0.0, the OVN database connection logic disables Go standard TLS server verification and replaces it with custom verification that fails to anchor trust in the configured CA certificate. Instead, the verification root set is constructed from certificates supplied by the peer, allowing acceptance of rogue self-signed certificates. This enables an attacker with network access to impersonate the OVN database endpoint. The vulnerability is resolved in version 7.0.0.

Potential Impact

An attacker positioned on the management network who can impersonate or intercept the OVN database endpoint can present a rogue certificate chain that Incus versions prior to 7.0.0 will accept as valid. This defeats the intended CA-based trust model and allows endpoint impersonation. The CVSS 4.0 score is 2.3, indicating low severity with attack vector requiring adjacent network access and high attack complexity. There is no indication of known exploits in the wild.

Mitigation Recommendations

This vulnerability is fixed in Incus version 7.0.0. Users should upgrade to version 7.0.0 or later to resolve this issue. No official patch or temporary fix is documented beyond upgrading. Until upgraded, deployments should consider restricting network access to the OVN database endpoint to trusted hosts to reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-10T17:31:45.785Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69fba9cccbff5d86105e9c35

Added to database: 05/06/2026, 20:51:24 UTC

Last enriched: 05/14/2026, 03:49:25 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 124

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses