{"id":"CVE-2026-33945","published":"2026-03-26T23:27:45Z","modified":"2026-03-27T20:00:08Z","title":"Abitrary file write through systemd-creds option","vendor":"lxc","product":"incus","tier":"tail","description":{"text":"Incus is a system container and virtual machine manager. Incus instances have an option to provide credentials to systemd in the guest. For containers, this is handled through a shared directory. Prior to version 6.23.0, an attacker can set a configuration key named something like `systemd.credential.../../../../../../root/.bashrc` to cause Incus to write outside of the `credentials` directory associated with the container. This makes use of the fact that the Incus syntax for such credentials is `systemd.credential.XYZ` where `XYZ` can itself contain more periods. While it's not possible to read any data this way, it's possible to write to arbitrary files as root, enabling both privilege escalation and denial of service attacks. Version 6.23.0 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00493,"percentile":0.43182,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/lxc/incus/security/advisories/GHSA-q4q8-7f2j-9h9f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":8.64},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"lxc","affectedVersions":[{"vendor":"lxc","product":"incus","versions":["< 6.23.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-03-27T14:09:43.149002Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/lxc/incus/v6","vulnerableRanges":["<6.23.0"],"patched":["6.23.0"],"from":["GHSA-q4q8-7f2j-9h9f","GO-2026-4884"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/lxc/incus","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-4884"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal in Incus, the system container and virtual machine manager from lxc, in how it handles the systemd.credential.* configuration keys used to pass credentials to systemd inside containers. Because key names may contain periods, a crafted key can direct Incus to write outside the container's credentials directory. An attacker with low-privileged access who can set instance configuration keys can write arbitrary files as root on the host, enabling privilege escalation or denial of service, with no user interaction needed and no way to read data through this path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:13Z"},"euvd":{"id":"EUVD-2026-16492","exploited":false,"provenance":"source"}}