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-48749: Incus Malicious Image Arbitrary File Write and RCE (CVSS 9.9)
CVE-2026-48749: Incus Malicious Image Arbitrary File Write and RCE (CVSS 9.9)

Critical Security Alert

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

SECURITYCRITICALCVE-2026-48749

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.

Dylan H.

Security Team

August 22, 2026
3 min read

Affected Products

  • Incus < 7.2.0

Overview

A critical vulnerability (CVSS 9.9) in Incus, the system container and virtual machine manager, allows an attacker to craft a malicious container image that reads or creates and writes arbitrary files on the host system. In the worst case, this leads to arbitrary command execution (RCE) on the host. The vulnerability is tracked as CVE-2026-48749.

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

Vulnerability Details

Incus processes container images during instance creation or import. The vulnerability exists in the image unpacking or metadata processing pipeline, where insufficient validation of image-supplied paths allows a malicious image to reference files outside the container's intended root filesystem.

A specially crafted image can:

  • Read arbitrary files on the host — by referencing host-side paths in image metadata or overlay layers.
  • Write arbitrary files on the host — by placing crafted path traversal sequences in image layer archives, causing files to be written outside the container's rootfs into the host's filesystem.

Why This Leads to RCE

Writing arbitrary files to the host enables multiple code execution paths, including:

Attack PathDescription
/etc/cron.d/ writePlant a cronjob on the host
/root/.ssh/authorized_keys writeAdd an attacker SSH key
Shared library overwriteReplace a host library loaded by a privileged process
systemd unit writeInstall a persistent service on the host

Any of these paths can result in full host compromise.

Impact

  • Arbitrary file read from the host filesystem.
  • Arbitrary file write to the host filesystem.
  • Remote code execution on the host via file write primitives.
  • Exploitation requires the ability to cause an Incus host to import a malicious image (e.g., by controlling an image source, via a supply-chain attack on a container registry, or by direct API access to the Incus daemon).

Affected Products

ProductAffected VersionsFixed Version
Incus< 7.2.07.2.0

Remediation

Update Incus to version 7.2.0 or later. The patch adds path validation and sanitization during image unpacking to ensure that no image-supplied paths can escape the container's root filesystem boundary.

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

Additional mitigations:

  • Only pull container images from trusted, verified sources.
  • Enforce image signing and verification where supported.
  • Audit Incus daemon access controls — the attack surface is reduced if only trusted users can trigger image imports.

References

  • NVD — CVE-2026-48749
  • Incus Project
  • Incus 7.2.0 Release Notes
#CVE#Incus#Container Security#Remote Code Execution#Arbitrary File Write#Vulnerability

Related Articles

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

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-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.

3 min read
Back to all Security Alerts