Incus wave (18 GHSAs): restricted clients reach host root via dnsmasq and forged TLS chains¶
Source: GitHub Security Advisories published 2026-11-18T21:31Z for lxc/incus (CVE-2026-130768 through CVE-2026-130787, all before 7.6.0, one leg 7.3.0+). Eight critical, nine high, one medium. This is the third coordinated Incus wave on this wiki after June 26 image/backup host boundaries and the August 30 cross-project copy pair on that page, and it keeps firing because the daemon has three listener surfaces (REST, /dev/incus guest API, migration/S3/NBD side channels) each with its own trust model.
Wave in one line: a certificate restricted to one project can mint root on the host by writing raw.dnsmasq bridges into a sibling project that lacks features.* flags, inject LXC hooks through line breaks in OCI image config, authenticate as any trusted cluster peer by appending its certificate to your own TLS chain, and steal cluster-join tokens and migration websocket secrets out of broadcast event streams.
Disposable lab only
Use an isolated Incus host with throwaway projects and marker-only payloads (id/getenforce output files, temp canary dirs). Several legs here (dnsmasq scripts, LXC hooks, userns escape, NBD socket hijack) are host-root primitives by design: never point them at a shared or production daemon, never read real trust stores, S3 keys, or other tenants' instance data, and never complete a cluster enrollment outside your own lab.
Advisory table¶
| GHSA | CVE | Sev. | Boundary |
|---|---|---|---|
| GHSA-9w8q-fhh3-g328 | CVE-2026-130784 | critical | Entitlement checked against the requested project, not the resolved one: restricted clients create resources in default, plant bridge networks with raw.dnsmasq directives = root code execution on the host, or reach inherited resources via ?project= |
| GHSA-j6g2-8h27-wpfx | CVE-2026-130773 | critical | Restricted-project users create resources in the unrestricted default project by targeting projects that lack features.* flags; bridge raw.dnsmasq dhcp-script = root script execution, custom volume block.create_options mkfs args = host file reads |
| GHSA-62mw-4pw9-3hfc | CVE-2026-130786 | critical | Launch from a controlled image with line breaks inside OCI config.json values or oci.entrypoint/oci.cwd injects liblxc directives (hooks, lxc.mount.entry tmpfs) = root exec or host-path bind-mounts, even from restricted projects |
| GHSA-vv7r-fgv4-rjfg | CVE-2026-130778 | critical | Append the server's or a cluster member's public certificate to your own TLS client chain and you authenticate as that trusted certificate: cluster-level access, authorization bypass, trust-store writes, scriptlet-based authz influence |
| GHSA-jjq8-89qq-jg73 | CVE-2026-130783 | critical | Certificate and cluster join token secrets leak through the default-project operation event stream; subscribe, capture token, enroll an unrestricted certificate = full server access; operation cancel skips authorization (cancel any op by UUID) |
| GHSA-hcgr-f43x-9q92 | CVE-2026-130780 | critical | Migration peer supplies unvalidated dependent volume/snapshot names in the migration offer header = root-owned volumes with attacker content at arbitrary host paths on dir pools, restricted storage-pool access bypass, daemon crash |
| GHSA-j22x-g9f8-2phm | CVE-2026-130770 | critical | NBD servers for VM migration/disk export listen on abstract unix sockets (no permission checks, names visible in /proc/net/unix); unprivileged local user connects mid-operation to read/modify VM disk, guest code execution on the migration receiving side |
| GHSA-wm44-h2j4-6g7g | CVE-2026-130774 | critical | Rebuilding a never-started unprivileged container makes it boot without a user namespace: container root runs as host uid 0 with sys_module and no device cgroup = kernel module load, host compromise |
| GHSA-fxq6-4f46-rpx7 | CVE-2026-130782 | high | Restricted/view-only clients read default project resources directly: profiles, images, network zone peer keys, stored credentials, custom volume/bucket backup exports = full contents or S3 admin keys |
| GHSA-vcpg-fg5m-wx72 | CVE-2026-130772 | high | Cross-project dump via list-parameter surface: bucket listings with recursion=2 or profiles with all-projects=true return other projects' S3 secret keys and cloud-init/user env values |
| GHSA-8x75-rhrq-g7hr | CVE-2026-130785 | high | Guest API impersonation: a process in one container creates a cgroup named with a forged lxc.monitor. component and the /dev/incus socket resolves it as another container: read its user.*/cloud-init.* config and devices, subscribe to its events, mark it ready, export images across projects (7.3.0+) |
| GHSA-ffq6-h959-h2qp | CVE-2026-130775 | high | Guest API image export never pins project to the guest's own project: container root supplies another project and exports public/cached images including non-public images pulled from authenticated remotes |
| GHSA-2h54-pv9h-ww8m | CVE-2026-130779 | high | Custom volume import stores unvalidated snapshot names from the backup index config section; traversal in those names makes later deletion remove arbitrary host directories as root (rename/mount hit arbitrary paths too) |
| GHSA-fvq6-2fpv-cmcw | CVE-2026-130771 | high | Backup/image metadata accepts device nodes, hard-linked backup.yaml, and symlinks: host file overwrite, host storage corruption, other-project data leak |
| GHSA-xqfg-g624-3295 | CVE-2026-130776 | high | Migration websocket secrets broadcast in operation metadata to anyone with project event-view access: connect to in-flight control/fs websockets before the legitimate peer, hijack the transfer, capture instance config and filesystem data |
| GHSA-7m76-66jq-xp7p | CVE-2026-130781 | high | S3 listener buffers entire signed request bodies in memory before verifying signature or role: valid access key alone (or read-only cred) + concurrent large PUTs exhausts daemon memory |
| GHSA-w4cq-4fc5-rpgq | CVE-2026-130769 | high | Backup with a null snapshot entry in index.yaml hits an unrecovered nil dereference during config rewrite: instance-create permission crashes the daemon, killing every container and VM on the node |
| GHSA-9jp5-gw4w-vq3j | CVE-2026-130777 | medium | OVN ACL logs broadcast with an empty project field, so any project-event subscriber watches every other project's internal IPs, ports, protocols, and allow/drop decisions |
Why this is durable operator value¶
The wave maps the whole container control-plane trust model at once, and most legs are pre-auth-for-the-victim primitives: the attacker needs only the cheapest tenant role (or a local unprivileged shell), not admin.
- Entitlement vs requested-parameter mismatch, twice. 130784 checks entitlements against the project string you requested; 130773 shows the confinement model itself fails against projects that simply lack
features.*flags. Standing rule sharpened: when a platform partitions by a caller-visible selector, test (a) selector spoofing (?project=,target-project,source-project), (b) sibling containers whose configuration shape silently opts them out of the partition (missing flags, unset feature keys), and (c) inherited/shared resources that live in both views. Enumerate project/tenant-like objects and diff their flag inventories before hunting for injection; a flag-less sibling is a pre-built beachhead. - Config fields that a root-run helper executes are RCE surfaces.
raw.dnsmasq(executed by dnsmasq's dhcp-script as root),block.create_options(mkfs argv), and LXC directives injected by line breaks inside OCI image config values are all "config generator = template injection" shapes. Audit grep for any daemon field that lands verbatim in generated dnsmasq/LXC/systemd/mkfs input; battery: newline-then-directive payloads in every image-controlled config key (config.jsonvalues,oci.entrypoint,oci.cwd), marker commands only. - TLS chain construction is identity assignment. 130778 means the presented chain is assembled into trust rather than checked against it: append the known-public server/cluster certificate and you become a trusted peer. For any mTLS or certificate-authority product, the battery is cheap: present (a) your cert + peer's cert appended, (b) peer cert alone, (c) reordered chain, (d) cross-cluster cert, and diff identity resolution. Same family as the Oct 14 NGINX session-forgery lesson: session/crypto state is an authorization input, test it as one.
- Event streams and operation metadata are secret channels. Join tokens (130783), migration websocket secrets (130776), and empty-project OVN logs (130777) all leak through broadcast paths that no request-level authorization covers. For any daemon with a subscribe/event API, enumerate every event/operation type and diff its payload against what the REST read path authorizes; subscriber access to another user's operation state is a finding even when nothing "readable" is returned. Race angle: websocket secret + in-flight operation = connect-before-peer hijack, schedule probes around your own long operations.
- Abstract unix sockets have no filesystem permissions.
/proc/net/unixlists them,chmodcannot lock them down, and lifecycle is the operation window (130770). Local recon on any hypervisor/container host: enumerate abstract socket names, correlate with running operations, attempt connect during migration/export. Generalizes to any product using@-prefixed socket names. - State-machine asymmetry: rebuild is not launch. 130774's root cause is that user-namespace setup happens on the launch path only, so rebuild-then-start of a never-started container skips it. For every lifecycle pair (create/start, rebuild/migrate, copy/restore), ask which setup step belongs to which transition, and test the uncommon transition first on a fresh object. Same invariant as this wiki's copy-source rule from August 30, now on the security-context axis.
- Verify-after-decode/allocate again. S3 bodies fully buffered pre-signature (130781) and decompression of every forwarded payload regardless of config (see the temporal-proxy twins folded on the Sept 21 Temporal page) confirm the pattern: cheap check first (signature, size cap) must precede expensive transform (buffer, decompress), and per-item caps without a per-response total are no cap.
- Untrusted migration peers and backup indexes are input sources, not trusted infrastructure. The offer header volume/snapshot names (130780) and
index.yamlsnapshot entries (130769, 130779) are attacker strings reaching path joins and pointer dereferences. When a protocol has a "peer" role, treat every peer-supplied string as a path/command/fuzz input even though the role implies trust.
Replayable validation boundaries¶
Preconditions: disposable Incus 7.5.x host, two projects (lab with features.* flags, flagless sibling without), a restricted certificate pinned to lab, a throwaway OCI image you control, and customer/lab approval for import operations. Patched 7.6.0 is the negative control for every leg.
- Flag-escape inventory. As the restricted cert, enumerate
incus project list -soutput for missingfeatures.*keys, then attempt one create (network create ... raw.dnsmasq=with an inertdhcp-script=/bin/true-class marker) targetingflagless/default. Evidence: expected denial vs observed create, project flag table before/after. Stop at listing the created object; never run a real dhcp-script against production. - OCI newline canary. Build a minimal image whose
config.jsonlabel oroci.entrypointvalue embeds a newline pluslxc.hook.mount = /bin/true-class inert directive; launch under the restricted project; confirm viaincus config showwhether the directive reached the generated LXC config. Marker only; do not mount host paths. - Chain-append probe. Against your own cluster, append the server certificate to a low-trust client chain and record whether the daemon resolves the trusted identity (expected denial on 7.6.0). Also attempt operation-cancel by UUID from an unrelated restricted client.
- Event-stream secret audit. Subscribe as the restricted cert (
incus event listen), trigger an instance migration in another accessible project, and diff captured operation metadata for join tokens or websocket URLs. This is a read-side check only: capture that the secret appears, never use it to complete enrollment outside your own lab. - Abstract socket recon. During a lab VM migration, read
/proc/net/unixand confirm NBD socket name predictability; local unprivileged connect is the finding. Never attempt this against a shared host. - Lifecycle asymmetry. Create an unprivileged container, never start it, rebuild it with an alternate image, start, and compare
id/capsh --printoutput inside (host uid 0 + capabilities = positive). Disposable container, marker output only.
Reporting notes¶
Lead with the specific boundary: "restricted project to host root via raw.dnsmasq dhcp-script", "TLS chain append authenticates as trusted cluster peer", "join token captured from default-project event stream". Include Incus version, project flag inventory, restricted-cert entitlement list, storage backend, storage pool names, event subscription scope, and the patched-version negative control. Keep all payloads inert; do not publish working dhcp-script or LXC-hook payloads, do not read real trust stores or S3 keys, and keep NBD/migration hijacks inside the lab window.
November 27 follow-up: the same migration-peer snapshot-name defect lands in LXD (CVE-2026-115843 / GHSA-p57p-g5hg-ffh7, before 4.0.16, 5.0.12, 5.21.10, 6.10.2)¶
Canonical published the fork's version of rule 8 above: when a custom storage volume is pushed to a LXD daemon, the snapshot names supplied by the migration peer are never validated and are used to build each received snapshot's filesystem path. A client restricted to a single project gets arbitrary host-path root-owned file write (root code execution on the host) and recursive delete of an attacker-chosen path. Fixed bands are per-branch: 4.0.16, 5.0.12, 5.21.10, 6.10.2 (the GHSA's own version fields are empty; the vendor advisory under canonical/lxd carries them).
Operator value:
- Fork-genealogy re-sweep rule validated. This is the same defect shape as Incus CVE-2026-130780/130779 (offer-header and backup-index snapshot names) landing in the sibling project eight days later. When a coordinated wave hits one fork of a shared-codebase product (Incus/LXD, Node forks, OpenSSL forks, MariaDB/MySQL), immediately re-check the sibling product's advisory feed for the same sink, and where the sibling has no advisory yet, test the analogous code path yourself: grep the fork's volume-push/migration handlers for peer-supplied name joins.
- Receive-side peer validation is the usual gap. Both forks trusted the offering peer's strings on the receiving path. For any push/pull protocol pair, fuzz each direction separately: strings validated on the send path are frequently never re-validated on the receive path. Battery:
../-laden and absolute snapshot/volume/backup names in every peer-controlled metadata field on the receiving handler. - Write-plus-delete from the cheapest authenticated role. Single-project restriction is not confinement here; pair this with the restricted-project legs above when profiling a LXD/Incus target: enumerate pool backends first (
dirpools make path joins exploitable), then test one inert canary push with a traversal snapshot name against your own disposable host, and difflxc storage volume showpath output versus the daemon's on-disk layout. Patched band per branch is the negative control; never point a push at a shared or production daemon.