Overview
A critical privilege escalation vulnerability (CVSS 9.9) has been disclosed in Incus, the open-source system container and virtual machine manager forked from LXD. The flaw, tracked as CVE-2026-62940, allows an attacker with access to a restricted project to bypass security controls during cross-cluster instance migration and gain elevated privileges on the target cluster.
Affected versions: Incus prior to 7.3.0. The fix is available in Incus 7.3.0.
Vulnerability Details
When migrating an instance to another cluster member, Incus accepts user-supplied configuration overrides as part of the migration request. The vulnerability arises because these overrides — which can include security-critical keys such as security.privileged and raw.lxc — are applied to the migrated instance without enforcing project-level restrictions.
This means a user operating within a restricted project (where security.privileged would normally be blocked) can supply the key as a migration override and have it silently accepted, effectively escaping the project's security boundary.
Affected Configuration Keys
The following keys can be injected via the migration override pathway:
| Key | Impact |
|---|---|
security.privileged | Runs container as root-mapped UID 0 on host |
raw.lxc | Arbitrary LXC config directives applied to container |
Attack Scenario
- Attacker has access to a restricted Incus project with
security.privileged = falseenforced. - Attacker initiates a cross-cluster migration, injecting
security.privileged: trueas a configuration override. - The destination cluster applies the override without checking project restrictions.
- The migrated container runs as privileged, giving the attacker root-equivalent access on the host.
Impact
- Privilege escalation from restricted project user to root on the target cluster member.
- Potential container escape via the
security.privilegedkey — a privileged container has near-full host access. - Exploitation requires a valid Incus cluster account with permission to migrate instances; it does not require external network access.
Affected Products
| Product | Affected Versions | Fixed Version |
|---|---|---|
| Incus | < 7.3.0 | 7.3.0 |
Remediation
Update Incus to version 7.3.0 or later. The fix enforces project restriction checks on all user-supplied configuration overrides at the point of application during migration, regardless of the request pathway.
# Check current Incus version
incus version
# Update via your package manager (e.g. snap)
snap refresh incusIf an immediate upgrade is not possible, restrict cluster migration permissions to trusted administrators only using Incus RBAC controls.