<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Incus - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/incus/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 03 Jul 2026 10:37:30 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/incus/feed.xml" rel="self" type="application/rss+xml"/><item><title>Critical Incus Vulnerability (CVE-2026-48752) Allows Host Arbitrary File Read/Write Leading to RCE</title><link>https://feed.craftedsignal.io/briefs/2026-07-incus-afrw/</link><pubDate>Fri, 03 Jul 2026 10:37:30 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-incus-afrw/</guid><description>A critical vulnerability, CVE-2026-48752, in Incus versions prior to 7.2.0 allows an unauthenticated attacker to achieve arbitrary file read and write on the host system via specially crafted container images or instance backups containing unsanitized symlinks, potentially leading to arbitrary command execution as root.</description><content:encoded><![CDATA[<p>A critical vulnerability tracked as CVE-2026-48752 has been identified in Incus, a Linux container manager, affecting versions prior to 7.2.0. This flaw allows a malicious actor to perform arbitrary file read and write operations on the underlying host system. The exploitation vector involves crafting a malicious container image or instance backup that includes a top-level <code>templates</code> symlink. When Incus unpacks such an artifact, it fails to properly sanitize this symlink, enabling the attacker to redirect operations intended for the <code>templates</code> directory to any arbitrary path on the host, such as <code>/etc/cron.d</code>. This capability can be leveraged to inject malicious cron jobs or modify other sensitive system files, ultimately leading to arbitrary command execution with root privileges on the host. This vulnerability poses a significant risk to the integrity and security of systems running vulnerable Incus instances.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker crafts a malicious Incus container image or instance backup (<code>.tar</code> archive).</li>
<li>Within this archive, a top-level symlink named <code>templates</code> is created, pointing to a sensitive host directory (e.g., <code>/etc/cron.d</code>).</li>
<li>The attacker distributes this malicious image or backup, which is then imported or restored on a vulnerable Incus host using <code>incus image import</code> or <code>incus import</code>.</li>
<li>During the unpacking process, Incus's <code>archive.Unpack</code> (for images) or <code>rsync.LocalCopy</code> (for backups) follows the <code>templates</code> symlink due to insufficient sanitization.</li>
<li>The attacker then uses <code>incus config template create</code> or <code>incus config template edit</code> commands, targeting the newly imported malicious instance/image.</li>
<li>Due to the symlink, these <code>incus</code> commands inadvertently write arbitrary content to the sensitive host directory (e.g., creating a new cron job file in <code>/etc/cron.d</code>).</li>
<li>The malicious cron job is executed by the host's cron daemon, achieving arbitrary command execution, often as root, on the host system.</li>
<li>The attacker gains full control over the Incus host, enabling further malicious activities like data exfiltration or deploying additional malware.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The successful exploitation of CVE-2026-48752 leads to arbitrary file read and write capabilities on the Incus host system. This direct access to the host filesystem allows attackers to modify critical system files, inject malicious configurations (such as cron jobs), and ultimately achieve arbitrary command execution, often with root privileges. The consequences include complete system compromise, unauthorized data access, persistence mechanisms, and potential disruption of services. While no specific victim count or sectors are mentioned, any organization utilizing vulnerable Incus installations could be at risk of severe security breaches and operational disruption.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch Incus immediately to version 7.2.0 or newer to address CVE-2026-48752 as advised by the vendor.</li>
<li>Deploy the Sigma rule below to detect suspicious <code>incusd</code> write operations to sensitive system directories.</li>
<li>Enable comprehensive <code>file_event</code> logging for Linux systems to capture modifications within critical directories like <code>/etc/cron.d/</code>, <code>/etc/</code>, <code>/bin/</code>, <code>/sbin/</code> by the <code>incusd</code> process.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>vulnerability</category><category>rce</category><category>symlink</category><category>linux</category><category>incus</category><category>container</category></item><item><title>Incus S3 Multipart Upload Path Traversal Leading to RCE (CVE-2026-48753)</title><link>https://feed.craftedsignal.io/briefs/2026-07-incus-s3-path-traversal-rce/</link><pubDate>Fri, 03 Jul 2026 10:36:22 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-incus-s3-path-traversal-rce/</guid><description>The Incus `incusd` daemon, specifically its S3 protocol multipart upload endpoint in versions prior to 7.1.0, is vulnerable to CVE-2026-48753, a critical path traversal flaw via the `uploadId` parameter, enabling unauthenticated attackers to write arbitrary files to any location on the host system, which can be leveraged for persistent arbitrary command execution.</description><content:encoded><![CDATA[<p>A critical path traversal vulnerability, tracked as CVE-2026-48753, has been identified in the Incus <code>incusd</code> daemon affecting versions prior to 7.1.0. This flaw resides within the S3 protocol's multipart upload endpoint, specifically in the handling of the <code>uploadId</code> parameter. Attackers can leverage this unsanitized parameter to inject path traversal sequences (e.g., <code>../../</code>) and write arbitrary files to sensitive locations on the host system. This arbitrary file write capability can be escalated to achieve persistent arbitrary command execution, for instance, by creating malicious cron jobs in <code>/etc/cron.d</code>. The successful exploitation of this vulnerability would grant an unauthenticated attacker the ability to execute commands with the privileges of the Incus service, posing a significant risk of full system compromise for affected Linux deployments utilizing Incus's S3 functionality.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker identifies a vulnerable Incus instance (version &lt; 7.1.0) with an exposed S3 API, typically via <code>incus config set core.storage_buckets_address</code>.</li>
<li>The attacker crafts a multipart S3 <code>PUT</code> request, targeting an S3 bucket configured on the vulnerable Incus instance.</li>
<li>The <code>uploadId</code> query parameter within the <code>PUT</code> request is maliciously manipulated, containing path traversal sequences such as <code>../../../../etc/cron.d</code>.</li>
<li>The request body is populated with the content of a malicious cron job entry, for example, <code>* * * * * root /bin/sh -c 'id &gt; /incus-s3-uploadid-bash-rce; rm -f /etc/cron.d/part-00001'</code>.</li>
<li>Due to the vulnerability in <code>internal/server/storage/s3/local/multipart.go</code>, Incus concatenates the unsanitized <code>uploadId</code> directly into the target file path during the upload process.</li>
<li>This results in an arbitrary file write on the host system, placing the malicious cron job content into a file like <code>/etc/cron.d/part-00001</code>.</li>
<li>The system's cron daemon periodically executes entries found in <code>/etc/cron.d</code>, triggering the newly created malicious job, leading to arbitrary command execution (e.g., <code>id &gt; /incus-s3-uploadid-bash-rce</code>).</li>
<li>The executed cron job also includes a command to delete itself (<code>rm -f /etc/cron.d/part-00001</code>), providing persistent remote code execution while attempting to remove forensic evidence.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The primary impact of CVE-2026-48753 is the ability for an unauthenticated attacker to achieve arbitrary file write on the host system where Incus is running. This directly enables arbitrary command execution, as demonstrated by the ability to install persistent cron jobs. Successful exploitation can lead to a complete compromise of the Incus host, allowing attackers to establish persistence, exfiltrate data, disrupt services, or pivot to other systems within the network. This vulnerability is critical due to its unauthenticated nature and the severe consequences of command execution.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li><strong>Patch CVE-2026-48753 immediately</strong> by upgrading your Incus installation to version 7.1.0 or later as advised by the advisory.</li>
<li><strong>Deploy the Sigma rule in this brief</strong> to your SIEM/EDR to detect exploitation attempts of CVE-2026-48753 by monitoring for suspicious S3 PUT requests.</li>
<li><strong>Monitor web server access logs</strong> for HTTP PUT requests to S3 endpoints that contain path traversal sequences (<code>../../</code> or <code>..%2F..%2F</code>) in the <code>uploadId</code> query parameter.</li>
<li><strong>Enable comprehensive file integrity monitoring</strong> for critical system directories like <code>/etc/cron.d</code>, <code>/tmp</code>, and other common locations for malicious file drops.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>path-traversal</category><category>rce</category><category>incus</category><category>s3</category><category>linux</category><category>vulnerability</category></item></channel></rss>