Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2493+ Articles
160+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-62941: Incus Cross-Project Copy Privilege Escalation (CVSS 9.9)
CVE-2026-62941: Incus Cross-Project Copy Privilege Escalation (CVSS 9.9)

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-62941

CVE-2026-62941: Incus Cross-Project Copy Privilege Escalation (CVSS 9.9)

Critical TOCTOU flaw in Incus lets restricted project users escalate privileges by copying instances across projects. Fixed in v7.3.0.

Dylan H.

Security Team

August 22, 2026
3 min read

Affected Products

  • Incus < 7.3.0

Overview

A second critical vulnerability (CVSS 9.9) has been disclosed in Incus, tracked as CVE-2026-62941. This time-of-check/time-of-use (TOCTOU) flaw allows a user in a restricted project to copy a privileged instance into their project, bypassing the AllowInstanceCreation project restriction check by exploiting the order of operations during cross-project instance copying.

Affected versions: Incus prior to 7.3.0. The fix is available in Incus 7.3.0.

Vulnerability Details

When copying an instance across projects, Incus runs the AllowInstanceCreation restriction check before the source instance's configuration is merged into the copy request. This creates a TOCTOU window:

  1. The restriction check validates the initial (potentially safe) request parameters.
  2. The source instance's configuration — which may include security.privileged: true or dangerous raw.lxc directives — is then merged into the new instance after the check has already passed.
  3. The destination instance is created with the privileged configuration, bypassing the project's security policy.

Root Cause

The vulnerability is a sequencing error in Incus's instance copy pipeline. The correct order is:

merge source config → validate against project restrictions → create instance

The vulnerable code performs:

validate against project restrictions → merge source config → create instance

This means the validation step never sees the dangerous configuration keys that will actually be applied.

Impact

  • Privilege escalation — restricted project users can create privileged containers equivalent to containers in unrestricted projects.
  • Container escape — a privileged Incus container maps UID 0 inside the container to UID 0 on the host, enabling full host access.
  • Exploitation requires access to any Incus project and the ability to initiate cross-project copies.

Affected Products

ProductAffected VersionsFixed Version
Incus< 7.3.07.3.0

Remediation

Update Incus to version 7.3.0 or later. The patch reorders the copy pipeline so that project restriction checks occur after the source instance configuration has been fully merged, eliminating the TOCTOU window.

# Check current Incus version
incus version
 
# Update via snap
snap refresh incus
 
# Or via apt (if using the Zabbly repository)
apt update && apt install incus

Where an immediate upgrade is not feasible, restrict cross-project copy permissions to trusted administrators using Incus fine-grained authorization.

Relationship to CVE-2026-62940

CVE-2026-62940 and CVE-2026-62941 were disclosed together and both affect Incus prior to 7.3.0. CVE-2026-62940 targets the migration pathway; CVE-2026-62941 targets the cross-project copy pathway. Both result in the same class of impact — privilege escalation via bypassed project restrictions — and share the same fix version.

References

  • NVD — CVE-2026-62941
  • Incus Project
  • Incus 7.3.0 Release Notes
#CVE#Incus#Container Security#TOCTOU#Privilege Escalation#Vulnerability

Related Articles

CVE-2026-62940: Incus Migration Security Restriction Bypass (CVSS 9.9)

Critical Incus flaw allows privilege escalation via unrestricted config overrides during cross-cluster instance migration. Patch to v7.3.0.

3 min read

CVE-2026-48749: Incus Malicious Image Arbitrary File Write and RCE (CVSS 9.9)

Critical Incus flaw lets a specially crafted container image read or write arbitrary host files, leading to remote code execution. Fixed in v7.2.0.

3 min read

CVE-2026-48750: Incus Exec-Output Symlink Attack Enables Host File Write (CVSS 9.9)

Critical Incus flaw: if exec-output is a symlink, command output files are written to arbitrary host paths. Fixed in v7.2.0.

3 min read
Back to all Security Alerts