Bug 2524274

Summary: CVE-2026-62941 incus: Incus: Cross-project instance copy bypasses target project restrictions via TOCTOU in config merge [fedora-all]
Product: [Fedora] Fedora Reporter: Thibault Guittet <tguittet>
Component: incusAssignee: Neal Gompa <ngompa13>
Status: NEW --- QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: rawhideCC: dherrera, fabian, go-sig, jonathan, ngompa13, rcallicotte, reto.gantenbein
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["eaa814dd-d37b-4841-b983-2ff1575849f5"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2521017    

Description Thibault Guittet 2026-08-26 07:59:16 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Incus is a system container and virtual machine manager. Prior to version 7.3.0, 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. Version 7.3.0 patches the issue.