Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-vxp5-584q-c479: Incus has arbitrary file read+write on host via templates/ symlink in malicious image

0
Critical
Published: 06/26/2026 (06/26/2026, 18:46:31 UTC)
Source: GCVE Database
Product: github.com/lxc/incus/v7/cmd/incusd

Description

A vulnerability in Incus (github.com/lxc/incus/v7/cmd/incusd) allows a specially crafted container image or instance backup containing a top-level 'templates' symlink to arbitrary file read and write on the host system. This occurs because the tar extraction process does not reject a top-level 'templates' symlink, enabling attackers to map host directories and modify files such as cron jobs, potentially leading to arbitrary command execution. The issue affects versions prior to 7.2.0.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected software

Goghsa
github.com/lxc/incus/v7/cmd/incusd
Affected versions
<7.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/26/2026, 22:16:07 UTC

Technical Analysis

Incus improperly handles a top-level 'templates' symlink during image unpacking and instance backup restoration. The archive unpacking code excludes device nodes but does not reject a 'templates' symlink, and the backup restore uses rsync without the '--safe-links' option. This allows a malicious image or backup to map host directories (e.g., /etc/cron.d) via the 'templates' symlink, enabling arbitrary file read and write on the host. Proof-of-concept demonstrates creating cron jobs that execute commands as root on the host.

Potential Impact

An attacker able to import a crafted container image or instance backup can read and write arbitrary files on the host system, including sensitive configuration files. This can lead to privilege escalation and arbitrary command execution with root privileges on the host, posing a critical security risk.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid importing untrusted container images or instance backups that may contain malicious symlinks. Monitor vendor communications for updates and apply patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-vxp5-584q-c479
Osv Schema Version
1.4.0
Aliases
["CVE-2026-48752"]
Ecosystems
["Go"]
Database Specific Severity
CRITICAL
Cvss Version
3.1

Threat ID: 6a3ef78d27e9c79719ff4978

Added to database: 06/26/2026, 22:05:01 UTC

Last enriched: 06/26/2026, 22:16:07 UTC

Last updated: 06/26/2026, 22:16:07 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses