Detect CVE-2026-48755: Incus Argument Injection in Backup Compression Algorithm (AFW/ACE) in Elastic Security
Detects exploitation of CVE-2026-48755, an argument injection vulnerability in Incus (github.com/lxc/incus/v7/cmd/incusd) versions prior to 7.2.0. The vulnerability exists in the backup compression algorithm selection, where unsanitized input is passed to compression utilities, enabling arbitrary file write (AFW) and arbitrary code execution (ACE) with incusd process privileges. An attacker with API access to the Incus daemon can inject shell metacharacters or additional arguments into the compression command, potentially achieving container escape or host compromise.
MITRE ATT&CK
Elastic Detection Query
sequence by host.name with maxspan=30s
[process where process.name == "incusd" and event.type == "start"]
[process where process.parent.name == "incusd"
and process.name in ("gzip", "bzip2", "xz", "zstd", "lz4", "tar", "pigz")
and (
process.args : ["*;&*", "*|*", "*`*", "*$()*", "*--use-compress-program*", "*--checkpoint-action*", "*-I *", "*../*"]
or process.command_line : ("*; *", "* | *", "*`*", "*$(*")
)
] EQL sequence detection identifying incusd spawning compression utilities with argument injection patterns consistent with CVE-2026-48755 exploitation.
Data Sources
Required Tables
False Positives & Tuning
- Custom backup automation that supplies non-default compression programs via Incus API
- Security research environments running controlled PoC tests against patched systems
- Misconfigured backup policies that generate argument strings resembling injection attempts
Other platforms for CVE-2026-48755
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1Incus Backup Compression Argument Injection via API - File Write
Expected signal: Process event: incusd spawns gzip with command line containing '>' and '#' characters; file creation event at /tmp/pwned.txt by gzip process with parent incusd
- Test 2Incus Backup Compression Injection via tar --use-compress-program
Expected signal: Process chain: incusd -> tar with --use-compress-program argument; incusd -> sh -c with id command; file write to /tmp/id_output.txt
- Test 3Incus REST API Direct Backup Request with Injected Compression Algorithm
Expected signal: Incus API audit log entry for POST /1.0/instances/test-container/backups with compression_algorithm containing semicolon and redirect; gzip process spawned by incusd with injected shell command in arguments
Unlock Pro Content
Get the full detection package for CVE-2026-48755 including response playbook, investigation guide, and atomic red team tests.