GHSA-9j25-mm2h-2f76
LXD has arbitrary file write on host via exec-output symlink in crafted image in github.com/canonical/lxd
Also known as GO-2026-6929
Mitigation
- Upgrade github.com/canonical/lxd to 0.0.0-20260626085134-124f90100640 or later.
Who should check
- Projects that depend on Go package github.com/canonical/lxd (< 0.0.0-20260626085134-124f90100640)
Vulnerability facts
- Affected
- github.com/canonical/lxd < 0.0.0-20260626085134-124f90100640
- Fixed in
- 0.0.0-20260626085134-124f90100640
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
Description
LXD has arbitrary file write on host via exec-output symlink in crafted image in github.com/canonical/lxd
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/canonical/lxd | < 0.0.0-20260626085134-124f90100640 | 0.0.0-20260626085134-124f90100640 | osv |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by GHSA-9j25-mm2h-2f76. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/GHSA-9j25-mm2h-2f76.md Affected: github.com/canonical/lxd < 0.0.0-20260626085134-124f90100640 Fixed in: 0.0.0-20260626085134-124f90100640 Steps: 1. Search this machine and project for github.com/canonical/lxd (Go): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Vendor advisories
Patches
- https://github.com/canonical/lxd/commit/124f901006400f634d54d908911c9ea93bae9a70
- https://github.com/canonical/lxd/commit/254b85c9301397e25304116b63da9154093199da
- https://github.com/canonical/lxd/commit/4cd63344f8a523acf39fdc02a80fd64b2e3b584f
- https://github.com/canonical/lxd/commit/937b761393af48fe4f5ff7e610ebfc1c9144e953
- https://github.com/canonical/lxd/commit/bb0f2521a59edacff2a0cb2e9532fdfbe68cf764
FAQ
Is GHSA-9j25-mm2h-2f76 being exploited?
There is no confirmed exploitation: GHSA-9j25-mm2h-2f76 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is GHSA-9j25-mm2h-2f76?
It has no CVSS score yet. Unknown.
Which versions are affected by GHSA-9j25-mm2h-2f76?
github.com/canonical/lxd < 0.0.0-20260626085134-124f90100640.
Is there a fix for GHSA-9j25-mm2h-2f76?
Yes. Fixed in 0.0.0-20260626085134-124f90100640. Upgrade github.com/canonical/lxd to 0.0.0-20260626085134-124f90100640 or later.
How do I check if I'm affected by GHSA-9j25-mm2h-2f76?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More github.com/canonical/lxd vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| UNSCORED | GHSA-vghh-5rfx-xhq8 LXD has arbitrary file read+write on host via rootfs/ symlink in malicious image in github.com/canonical/lxd | Go modules | ||
| UNSCORED | GHSA-qx75-2p3r-pwm5 LXD has project restriction bypass in instance copy across projects in github.com/canonical/lxd | Go modules | ||
| UNSCORED | GHSA-pjff-c2wc-f6jm LXD has arbitrary file write on client due to trusted image hash in github.com/canonical/lxd | Go modules | ||
| UNSCORED | GHSA-jpf8-86f3-wp38 LXD has arbitrary file read+write on host via templates/ symlink in malicious image in github.com/canonical/lxd | Go modules | ||
| UNSCORED | GHSA-fmc8-p6q7-75cc LXD has argument injection in backup compression algorithm leading to AFW and ACE in github.com/canonical/lxd | Go modules |