GHSA-v6mj-8pf4-hhw4: Incus has an argument injection in backup compression algorithm leading to AFW and ACE
Incus before version 7.2.0 contains a vulnerability where improper validation of the user-supplied backup compression algorithm allows argument injection. This flaw enables an attacker to inject additional command-line arguments to the compression tool, leading to arbitrary file writes on the host system and potentially arbitrary command execution. The vulnerability arises because only the first token of the compression algorithm is validated against an allowlist, while extra arguments are passed unchecked to the compressor command. A proof-of-concept demonstrates writing a malicious cron job file to the host, enabling remote code execution.
AI Analysis
Technical Summary
The vulnerability in Incus (github.com/lxc/incus/v7/cmd/incusd) versions prior to 7.2.0 is due to insufficient validation of the backup compression algorithm parameter. The software parses the user-provided compression algorithm string into tokens and only validates the first token against an allowlist of allowed compressors. Additional tokens (arguments) are not validated and are passed directly to the compressor command line. This allows an attacker to inject arbitrary arguments, such as file output redirection, resulting in arbitrary file writes on the host. This can be exploited to write files like cron jobs, leading to arbitrary command execution with the privileges of the Incus daemon. The vulnerability is tracked as CVE-2026-48755 and is rated critical with a CVSS 3.1 vector indicating network attack vector, low attack complexity, low privileges required, no user interaction, scope change, and high impact on confidentiality, integrity, and availability.
Potential Impact
An attacker with the ability to trigger backups on an affected Incus instance can exploit this vulnerability to write arbitrary files on the host system. This can lead to arbitrary command execution, such as installing persistent cron jobs, potentially compromising the entire host. The impact includes full system compromise with confidentiality, integrity, and availability severely affected.
Mitigation Recommendations
A fix is available in Incus version 7.2.0 and later. Users should upgrade to version 7.2.0 or newer to remediate this vulnerability. Until patched, avoid exposing backup functionality to untrusted users or networks. Patch status is confirmed by the affectedVersions field indicating versions prior to 7.2.0 are vulnerable and later versions are fixed.
GHSA-v6mj-8pf4-hhw4: Incus has an argument injection in backup compression algorithm leading to AFW and ACE
Description
Incus before version 7.2.0 contains a vulnerability where improper validation of the user-supplied backup compression algorithm allows argument injection. This flaw enables an attacker to inject additional command-line arguments to the compression tool, leading to arbitrary file writes on the host system and potentially arbitrary command execution. The vulnerability arises because only the first token of the compression algorithm is validated against an allowlist, while extra arguments are passed unchecked to the compressor command. A proof-of-concept demonstrates writing a malicious cron job file to the host, enabling remote code execution.
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 in Incus (github.com/lxc/incus/v7/cmd/incusd) versions prior to 7.2.0 is due to insufficient validation of the backup compression algorithm parameter. The software parses the user-provided compression algorithm string into tokens and only validates the first token against an allowlist of allowed compressors. Additional tokens (arguments) are not validated and are passed directly to the compressor command line. This allows an attacker to inject arbitrary arguments, such as file output redirection, resulting in arbitrary file writes on the host. This can be exploited to write files like cron jobs, leading to arbitrary command execution with the privileges of the Incus daemon. The vulnerability is tracked as CVE-2026-48755 and is rated critical with a CVSS 3.1 vector indicating network attack vector, low attack complexity, low privileges required, no user interaction, scope change, and high impact on confidentiality, integrity, and availability.
Potential Impact
An attacker with the ability to trigger backups on an affected Incus instance can exploit this vulnerability to write arbitrary files on the host system. This can lead to arbitrary command execution, such as installing persistent cron jobs, potentially compromising the entire host. The impact includes full system compromise with confidentiality, integrity, and availability severely affected.
Mitigation Recommendations
A fix is available in Incus version 7.2.0 and later. Users should upgrade to version 7.2.0 or newer to remediate this vulnerability. Until patched, avoid exposing backup functionality to untrusted users or networks. Patch status is confirmed by the affectedVersions field indicating versions prior to 7.2.0 are vulnerable and later versions are fixed.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-v6mj-8pf4-hhw4
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-48755"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
Threat ID: 6a3ef78d27e9c79719ff4952
Added to database: 06/26/2026, 22:05:01 UTC
Last enriched: 06/26/2026, 22:15:49 UTC
Last updated: 06/26/2026, 22:15:49 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.