Incus container image templating arbitrary host file read and write
Key facts
- Attack vector
- Adjacent network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
Incus is a system container and virtual machine manager. Versions 6.21.0 and below allow a user with the ability to launch a container with a custom image (e.g a member of the ‘incus’ group) to use directory traversal or symbolic links in the templating functionality to achieve host arbitrary file read, and host arbitrary file write. This ultimately results in arbitrary command execution on the host. When using an image with a metadata.yaml containing templates, both the source and target paths are not checked for symbolic links or directory traversal. This can also be exploited in IncusOS. A fix is planned for versions 6.0.6 and 6.21.0, but they have not been released at the time of publication.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| lxc | incus | 6.1.0 – 6.20.0; up to 6.0.5 | — | No fix listed | CNA |
| — | github.com/lxc/incus/v6/cmd/incusd (Go) | all versions | — | No fix listed | GHSA-7f67-crqm-jgh7 |
- incus Vendorlxc Affected 6.1.0 – 6.20.0; up to 6.0.5 Fixed in — No fix listed CNA
- github.com/lxc/incus/v6/cmd/incusd (Go) Vendor— Affected all versions Fixed in — No fix listed GHSA-7f67-crqm-jgh7
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-23954
- 2026-10-03 Alias added: GHSA-7f67-crqm-jgh7
References
Exploit 2
More lxc Incus vulnerabilities
- TI-2026-19295 Incus container environment configuration newline injection CVSS 3.1HIGH 8.7
- TI-2025-39899 Incus vulnerable to local privilege escalation through custom storage volumes CVSS 4.0HIGH 8.6
- TI-2026-29045 Incus out-of-bounds panic in snapshot metadata handling allows denial of service CVSS 4.0HIGH 7.1
- TI-2026-29009 Incus nil-pointer dereference in storage bucket import allows denial of service CVSS 4.0HIGH 7.1
- TI-2026-26122 Incus vulnerable to denial of source through crafted bucket backup file CVSS 3.1MEDIUM 6.5
- TI-2026-25935 Incus does not verify combined fingerprint when downloading images from simplestreams servers CVSS 4.0MEDIUM 5.7
Sources
- CVE-2026-23954 · CVE Program
- CVE-2026-23954 · NVD
- FIRST EPSS
- GHSA-7f67-crqm-jgh7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-23954 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences