GHSA-73hr-m85f-64v9: Incus has an arbitrary file write on host via `exec-output` symlink in crafted image
A vulnerability in Incus (github.com/lxc/incus/v7/cmd/incusd) prior to version 7.2.0 allows an attacker to write arbitrary files on the host by exploiting the `exec-output` symlink in a crafted container image. The `record-output` parameter of the `/instances/$name/exec` endpoint writes command output files to the `exec-output` directory, which if replaced by a symlink, can redirect these files to arbitrary locations on the host filesystem. This can lead to arbitrary command execution via crafted files such as cron jobs.
AI Analysis
Technical Summary
The vulnerability arises because when unpacking container images, top-level symlinks like `exec-output` are preserved as-is on disk. The Incus code uses `os.Mkdir` on `exec-output` without verifying if it is a symlink, and subsequently writes output files following the symlink target. An attacker can craft an image with `exec-output` as a symlink to an arbitrary host directory (e.g., `/etc/cron.d`), causing output files to be written there. This allows placing malicious files that can lead to arbitrary command execution on the host. The issue affects versions prior to 7.2.0.
Potential Impact
An attacker with the ability to import and launch crafted container images can write files to arbitrary locations on the host filesystem, potentially leading to arbitrary command execution. This compromises the host's confidentiality, integrity, and availability, making this a critical security risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid importing or launching untrusted container images. Monitor vendor communications for official patches or mitigations.
GHSA-73hr-m85f-64v9: Incus has an arbitrary file write on host via `exec-output` symlink in crafted image
Description
A vulnerability in Incus (github.com/lxc/incus/v7/cmd/incusd) prior to version 7.2.0 allows an attacker to write arbitrary files on the host by exploiting the `exec-output` symlink in a crafted container image. The `record-output` parameter of the `/instances/$name/exec` endpoint writes command output files to the `exec-output` directory, which if replaced by a symlink, can redirect these files to arbitrary locations on the host filesystem. This can lead to arbitrary command execution via crafted files such as cron jobs.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because when unpacking container images, top-level symlinks like `exec-output` are preserved as-is on disk. The Incus code uses `os.Mkdir` on `exec-output` without verifying if it is a symlink, and subsequently writes output files following the symlink target. An attacker can craft an image with `exec-output` as a symlink to an arbitrary host directory (e.g., `/etc/cron.d`), causing output files to be written there. This allows placing malicious files that can lead to arbitrary command execution on the host. The issue affects versions prior to 7.2.0.
Potential Impact
An attacker with the ability to import and launch crafted container images can write files to arbitrary locations on the host filesystem, potentially leading to arbitrary command execution. This compromises the host's confidentiality, integrity, and availability, making this a critical security risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid importing or launching untrusted container images. Monitor vendor communications for official patches or mitigations.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-73hr-m85f-64v9
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-48750"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
Threat ID: 6a3ef79127e9c79719ff6ee7
Added to database: 06/26/2026, 22:05:05 UTC
Last enriched: 06/26/2026, 22:18:08 UTC
Last updated: 06/26/2026, 22:18:08 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.