GHSA-9j25-mm2h-2f76: LXD has arbitrary file write on host via `exec-output` symlink in crafted image
The record-output parameter of the /instances/$name/exec endpoint
stores the output of the command in the exec-output directory of the
instance. If exec-output is a symlink, file named exec_UUID.stdout
and exec_UUID.stderr can be written to an arbitrary location where
the .stdout file will contain arbitrary content. This behavior can be
abused for arbitrary command execution.
References
- github.com/advisories/GHSA-9j25-mm2h-2f76
- github.com/canonical/lxd/commit/124f901006400f634d54d908911c9ea93bae9a70
- github.com/canonical/lxd/commit/254b85c9301397e25304116b63da9154093199da
- github.com/canonical/lxd/commit/4cd63344f8a523acf39fdc02a80fd64b2e3b584f
- github.com/canonical/lxd/commit/937b761393af48fe4f5ff7e610ebfc1c9144e953
- github.com/canonical/lxd/commit/bb0f2521a59edacff2a0cb2e9532fdfbe68cf764
- github.com/canonical/lxd/releases/tag/lxd-5.21.5
- github.com/canonical/lxd/security/advisories/GHSA-9j25-mm2h-2f76
- github.com/lxc/incus/security/advisories/GHSA-73hr-m85f-64v9
- manpages.debian.org/bookworm/cron/cron.8.en.html
- nvd.nist.gov/vuln/detail/CVE-2026-48750
Code Behaviors & Features
Detect and mitigate GHSA-9j25-mm2h-2f76 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →