Go Vulnerability Database
GO-2026-4357
Incus container image templating arbitrary host file read and write in github.com/lxc/incus
Details
Incus container image templating arbitrary host file read and write in github.com/lxc/incus
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/lxc/incus | All versions, no fix listed |
| Go | github.com/lxc/incus/v6 | From 6.1.0, no fix listed |
References
- https://github.com/lxc/incus/security/advisories/GHSA-7f67-crqm-jgh7
- https://nvd.nist.gov/vuln/detail/CVE-2026-23954
- https://github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go#L7215
- https://github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go#L7294
- https://github.com/user-attachments/files/24473599/template_arbitrary_write.sh
- https://github.com/user-attachments/files/24473601/templates_arbitrary_write.patch