News

LXD images turn templates into host file access

Louis Stowasser
Louis Stowasser
Sunday 8 November 2026

GHSA-jpf8-86f3-wp38 is a boundary failure in LXD, Canonical’s platform for managing system containers and virtual machines. LXD is operated by developers building isolated Linux environments, platform and operations teams running private-cloud-style infrastructure, and hosting, lab and enterprise teams managing clustered workloads. It is not merely a library inside an application: its persistent daemon imports images and manages instances with meaningful access to the host.

A malicious image can exploit that position. The image archive may contain a top-level templates entry that is a symbolic link rather than a real directory. LXD’s archive extraction allowed that link through; later template-management operations then followed it to a directory selected by the image author. In effect, an image can point LXD’s template tooling at host paths, allowing files there to be read, created or overwritten. The vendor says the resulting host-file access can potentially become command execution.

The image importer becomes the crossing point

An attacker needs the ability to get a crafted image imported and used by a vulnerable LXD deployment. That is a lower bar than host login, but it is still a privileged position in the LXD workflow: a tenant, developer, automation identity, or supply-chain source must be able to provide an image that an operator imports. The published proof of concept points templates at /etc/cron.d and writes a root-run cron entry, illustrating why arbitrary file creation is enough to threaten the host.

A public proof of concept is included in Canonical’s advisory, so this is not a purely theoretical path. That does not establish real-world compromise: no confirmed exploitation in the wild, named victim, or campaign has surfaced, and no independent weaponised tool beyond the advisory scripts was confirmed. CVE-2026-48752 is not listed in CISA’s Known Exploited Vulnerabilities data.

Fixed releases need to be the floor

Canonical lists every LXD release from 4.0.0 onward as affected. Upgrade to 6.9, 5.21.5, 5.0.7, or 4.0.11, as appropriate for the supported release line; these are the product releases Canonical identifies as fixed. The June 26, 2026 vendor disclosure is the useful date for response planning, despite later ecosystem records carrying a November publication date.

The core correction matters because it changes template-path handling from ordinary path construction to a check that rejects a templates symlink. While patching, inventory image-import rights, restrict untrusted image sources, review recent image imports and template changes, and examine sensitive host locations for unexpected writes. Treat LXD API credentials and project permissions as part of the exposure, not just the daemon version.

There is an important qualification. A later advisory says the original fix was incomplete for the separate QEMU/VM template path: CVE-2026-16033, tracked as GHSA-9hcm-hxh5-7xxh, covered a sibling driver that did not receive the original guard. Teams running LXD VMs should read that follow-on advisory and ensure their installed update addresses it too.

This flaw turns trust in an image into trust in host filesystem paths, which is a poor trade in any multi-user or automated environment. Use SecAlerts to monitor the software an organisation actually runs and alert on newly affecting vulnerabilities, but pair that visibility with tight image provenance and prompt LXD upgrades.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203