All vulnerabilities

Servers and applications

CVE-2026-62941

Project restriction bypass via cross-project instance copy

Severity
Critical 9.9
Published
30 Jul 2026
Last changed
2 Aug 2026
Added to UpHeron
1 Nov 2026
Fixed in
7.3.0
Exploit chance
0.4% in the next 30 daysHigher than 39% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Also known as
GHSA-mq9x-prm8-3vpw
Sources
Project advisories (GitHub)

Description

When copying an instance across projects, the project restriction check (AllowInstanceCreation) runs BEFORE the source instance's configuration is merged into the request. Dangerous configuration keys (including security.privileged, raw.lxc, raw.apparmor) from the source instance are merged AFTER the check passes, bypassing all project restrictions on the target project.

The vulnerability exists in cmd/incusd/instances_post.go:

  • Line 1440: project.AllowInstanceCreation(tx, targetProjectName, req) checks restrictions against req — at this point, req.Config is empty or contains only user-supplied overrides (typically none for a plain copy)
  • Line 1528: createFromCopy() is called AFTER the check passes
  • Lines 680-691 (inside createFromCopy): Source instance config is iterated and ALL non-volatile keys are merged into req.Config via InstanceIncludeWhenCopying()
  • internal/instance/config.go:1826: InstanceIncludeWhenCopying returns true for dangerous keys including security.privileged…
From lxc/incus's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
IncusServers and applications · github:lxc/incus
  • Every version before 7.3.0

About Incus

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
6,644GitHub, 15 Nov 2026
Forks
522GitHub, 15 Nov 2026
Latest release
v7.6.0GitHub, 15 Nov 2026
Released
30 Oct 2026GitHub
Developer
Linux ContainersWikidata
License
Apache Software License 2.0Wikidata
Written in
GoWikidata
First released
7 Aug 2023Wikidata
First published on GitHub
22 Jul 2023GitHub

References