Summary
Incus before 7.6.0 contains an authorization bypass (CWE-863) that lets restricted project users create resources in the unrestricted default project. The CVSS 4.0 score is 9.4 (critical severity).
What happened
According to the description, Incus before 7.6.0 has an authorization bypass that allows restricted project users to create resources in the unrestricted default project by targeting projects that lack the features.* flags. The description states that, through this path, an attacker could create bridge networks with a dhcp-script injected via raw.dnsmasq to run scripts as root, or create custom volumes with mkfs arguments in block.create_options to read host files. The weakness is classified as CWE-863 (incorrect authorization).
Why it matters
The flaw allows bypassing isolation between projects and, per the description, could lead to script execution as root and reading of host files. The CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H) scores 9.4, assigned by CNA:VulnCheck, with critical severity. It requires low privileges (a restricted project user). CISA's KEV catalog does not list it as actively exploited, and the source does not state any evidence of exploitation.
Affected products and versions
Incus (vendor: lxc), versions before 7.6.0 (< 7.6.0). Version 7.6.0 is listed as unaffected.
| Product | Versions | Fixed in |
|---|---|---|
| lxc incus | < 7.6.0 | — |
| lxc incus | 7.6.0 | 7.6.0 |
Action recommended by the source
The source lists 7.6.0 as the fixed version. The vendor publishes a security advisory at https://github.com/lxc/incus/security/advisories/GHSA-jcw9-v2ff-8m79. The source does not state any other mitigations.
Fixed in: 7.6.0
Sources and references
Weaknesses (CWE): CWE-863
Relevant change history
Published
Advisory published.