/

CVE-2026-130778

Severity:

CRITICAL RISK

(10.0)

Authentication Bypass (CWE-287) in Incus TLS Client

CVE-2026-130778

Deferred

Vulnerability type

Category:

Authentication Bypass

CWE:

CWE-287

Impact:

Unauthorized cluster-level access and authorization bypass

Severity:

CRITICAL RISK

(10.0)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Incus contains an authentication bypass that may let a remote attacker be treated as a trusted certificate identity by appending a trusted public certificate to the presented TLS client certificate chain. Depending on the certificate used and deployment, this could grant cluster-level access, bypass authorization, and affect trust or scriptlet-based authorization decisions.

Affected context

The issue affects Incus deployments with the vulnerable TLS client certificate authentication behavior. It is described in Incus versions before 7.6.0, where a certificate appended to a presented client chain may influence which trusted identity the server accepts.

Exploit preconditions

  • Attack surface: Remote TLS client authentication to an Incus service
  • Required access: Network reachability to the relevant service; the description does not indicate that prior authentication is required
  • Trigger point: Validation of a client certificate chain containing an appended trusted certificate
  • Why exploitation is possible: The authentication process may accept the trusted certificate in the presented chain as proof of the corresponding identity

Why this happens

The underlying issue is an authentication-validation flaw mapped to CWE-287: Improper Authentication. The certificate-chain handling does not sufficiently ensure that the presented client identity is authenticated according to the intended trust and identity rules, allowing a trusted certificate to be appended to influence the authentication result.

Potential impact

  • An attacker could authenticate as a trusted certificate identity
  • An attacker may gain cluster-level access or bypass authorization
  • Trust store entries could be modified
  • Scriptlet-based authorization decisions could be influenced

General mitigation guidance

Defensive patterns include validating the client certificate identity and chain according to strict, explicit trust rules, and ensuring that additional certificates cannot substitute for the identity being authenticated. Keep trust-store changes tightly controlled, minimize the privileges available to authenticated identities, and review scriptlet-based authorization logic so it does not rely on ambiguous certificate-chain results.

How teams detect issues like this

Review TLS client authentication code and configuration for logic that derives identity from any certificate in a presented chain rather than the intended client certificate. Examine trust-store modification events, unexpected certificate-chain structures, and authorization decisions that differ from established identity records. Static analysis, code review, and policy checks can help identify ambiguous certificate validation and overly broad trust rules.

Sources

SourceLink
github.comgithub.com/lxc/incus/security/advisories/GHSA-xg75-xf37-cph9

Frequently asked

questions

The description identifies remote attackers and TLS client authentication as the attack surface; exposure depends on whether an Incus service is reachable.

The description does not specify a prior-access requirement. The key condition is being able to present a client certificate chain to the relevant service.

Apply strict client certificate identity and chain validation, ensuring that appended certificates cannot be treated as the authenticated client identity.

Define explicit certificate trust and identity policies, restrict trust-store changes, and test authentication and authorization behavior against unexpected certificate chains.

Find out what's already
exploitable in your codebase.