Cross-project instance copy bypasses target project restrictions via TOCTOU in config merge
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.0.8 and 5.21.6.
An authorization bypass vulnerability in LXD due to a timing flaw during configuration merging allows an authenticated attacker to bypass target project restrictions during cross-project instance copies. When copying an instance to a target project, LXD performs restriction checks before configuration merging is complete, creating a time-of-check to time-of-use (TOCTOU) condition. An attacker can exploit this flaw to copy instances with disallowed high-privilege configurations into restricted projects, bypassing security controls.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Canonical | >=5.0.0 <5.0.8, >=5.21.0 <5.21.6 | 5.0.8, 5.21.6 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket