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-48750: Incus Exec-Output Symlink Attack Enables Host File Write (CVSS 9.9)
CVE-2026-48750: Incus Exec-Output Symlink Attack Enables Host File Write (CVSS 9.9)

Critical Security Alert

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

SECURITYCRITICALCVE-2026-48750

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.

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 allows a container user or attacker to redirect command execution output files to arbitrary locations on the host filesystem by placing a symlink in the instance's exec-output directory. This symlink attack enables writing attacker-controlled content to host paths, which can be leveraged for privilege escalation or code execution. The vulnerability is tracked as CVE-2026-48750.

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

Vulnerability Details

Incus provides a record-output parameter on the /instances/$name/exec endpoint. When enabled, the output of the executed command is stored in the exec-output directory of the instance as files named exec_UUID.stdout and exec_UUID.stderr.

The vulnerability arises because Incus does not validate whether exec-output is a symlink before writing these output files. If a container user has placed a symlink at the exec-output path pointing to a directory on the host filesystem, the output files are written to the symlink's target — potentially anywhere the Incus daemon has write access.

Attack Flow

1. Attacker (inside container or with container write access) replaces exec-output/ 
   with a symlink pointing to a sensitive host directory.
   
   e.g.: exec-output -> /etc/cron.d/

2. Incus daemon writes exec_<UUID>.stdout to /etc/cron.d/exec_<UUID>.stdout
   with attacker-controlled content (the output of the exec'd command).

3. If the content is valid cron syntax, it executes on the host.

Content Control

The attacker controls command output by choosing which command Incus executes. With record-output enabled, the attacker effectively controls the content written to the symlink target, making this a write-what-where primitive with meaningful content control.

Impact

  • Arbitrary file write on the host filesystem, to any path writable by the Incus daemon (typically running as root).
  • Code execution on the host via cronjob injection, SSH key injection, or shared library replacement.
  • Exploitation requires the ability to write to the instance's exec-output directory (container filesystem access) and trigger an exec call with record-output.

Affected Products

ProductAffected VersionsFixed Version
Incus< 7.2.07.2.0

Relationship to CVE-2026-48749

CVE-2026-48749 and CVE-2026-48750 were disclosed together and both affect Incus prior to 7.2.0. CVE-2026-48749 abuses the image import pathway for arbitrary file read/write; CVE-2026-48750 abuses the exec output recording pathway via symlinks. Both share the fix version (7.2.0) and result in host filesystem write primitives.

Remediation

Update Incus to version 7.2.0 or later. The patch adds a symlink check on the exec-output directory before writing output files, ensuring that output is always written within the container's 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 (pre-patch):

  • Disable record-output on exec calls unless strictly necessary.
  • Restrict which users can trigger exec operations on Incus instances.
  • Monitor for unexpected symlinks in instance exec-output directories.

References

  • NVD — CVE-2026-48750
  • Incus Project
  • Incus 7.2.0 Release Notes
#CVE#Incus#Container Security#Symlink Attack#Arbitrary File Write#Vulnerability

Related Articles

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