Home / lxc / incus / CVE-2026-23954
CVE-2026-23954: is it exploited, and which versions of lxc incus are affected and fixed?
CVE-2026-23954 is a path traversal (reading or writing files outside the intended folder) vulnerability in lxc incus. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: github.com/lxc/incus/v6/cmd/incusd 0 and later, no fix listed (GitHub advisory GHSA-7f67-crqm-jgh7). Fixed in 6.21.0 (NVD). Severity: High (8.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:14 UTC.
What is CVE-2026-23954?
Incus container image templating arbitrary host file read and write
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.
From the CVE record by GitHub_M, last updated January 26, 2026, 21:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| lxc | incus | >= 6.1.0, <= 6.20.0 <= 6.0.5 |
As the CVE record by GitHub_M states it, last updated January 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/lxc/incus/v6/cmd/incusd | >= 0 | none listed | GHSA-7f67-crqm-jgh7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 27, 2026. Summary: Incus container image templating arbitrary host file read and write.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linuxcontainers | incus | through 6.0.5 | application |
| linuxcontainers | incus | from 6.1.0 before 6.21.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:22 UTC.
How severe is CVE-2026-23954?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-23954 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, January 26, 2026)
- EPSS
- 0.78% probability of exploitation activity in the next 30 days, percentile 57.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/lxc/incus/security/advisories/GHSA-7f67-crqm-jgh7 x_refsource_CONFIRM
- https://github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go#L7215 x_refsource_MISC
- https://github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go#L7294 x_refsource_MISC
- https://github.com/user-attachments/files/24473599/template_arbitrary_write.sh x_refsource_MISC
- https://github.com/user-attachments/files/24473601/templates_arbitrary_write.patch x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 19, 2026
- Published
- January 22, 2026, 21:45 UTC
- CVE record updated
- January 26, 2026, 21:02 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:22 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect incus?
- Nov 19, 2026CVE-2026-81499 lxc incus: link following (a symlink lets an attacker reach other files)
- Nov 18, 2026CVE-2026-130780 lxc incus: path traversal (reading or writing files outside the intended folder)
- Nov 18, 2026CVE-2026-130781 lxc incus: denial of service (uncontrolled resource consumption)
- Nov 18, 2026CVE-2026-130782 lxc incus: incorrect authorization
- Nov 18, 2026CVE-2026-130783 lxc incus: information disclosure
- Nov 18, 2026CVE-2026-130784 lxc incus: incorrect authorization
- Nov 18, 2026CVE-2026-130785 lxc incus: authentication bypass by spoofing
- Nov 18, 2026CVE-2026-130786 lxc incus: injection
Questions about CVE-2026-23954
Is CVE-2026-23954 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.78% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of lxc incus are affected by CVE-2026-23954?
github.com/lxc/incus/v6/cmd/incusd 0 and later, no fix listed, per the GitHub advisory GHSA-7f67-crqm-jgh7. The tables above give every range the sources list.
Which version fixes CVE-2026-23954?
6.21.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-23954?
High (8.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-23954?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.