{"schemaVersion":4,"id":"CVE-2026-33945","aliases":["UBUNTU-CVE-2026-33945","DEBIAN-CVE-2026-33945","GHSA-q4q8-7f2j-9h9f","GO-2026-4884"],"status":"published","duplicateOf":null,"title":"Abitrary file write through systemd-creds option","description":"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.","dates":{"published":"2026-03-26T23:27:45.711Z","modified":"2026-03-27T20:00:08.359Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","exploitability":7.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","exploitability":7.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":9.9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":7.9,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00493,"percentile":0.43942,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.03800000000000001,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00455},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00447,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00447,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00447,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00447,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00447,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00447,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00447,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00447,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00447,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00447,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00526,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00493,"percentile":0.43942}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00493,"percentile":0.43942}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"incus","name":"incus","label":"incus","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/incus","purlType":"deb","versions":[{"text":"< 6.0.6-2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.0.6-2","endInclusive":false}}],"versionsText":"< 6.0.6-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"incus","name":"incus","label":"incus","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/incus","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/lxc","product":"incus","name":"github.com/lxc/incus","label":"incus","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/lxc/incus","purlType":"golang","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/lxc/incus","product":"v6","name":"github.com/lxc/incus/v6","label":"v6","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/lxc/incus/v6","purlType":"golang","versions":[{"text":"< 6.23.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.23.0","endInclusive":false}}],"versionsText":"< 6.23.0","eol":null,"hubHref":null},{"vendor":"linuxcontainers","product":"incus","name":"incus","label":"incus","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.23.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.23.0","endInclusive":false}}],"versionsText":"< 6.23.0","eol":null,"hubHref":"/vendor/linuxcontainers/incus"},{"vendor":"lxc","product":"incus","name":"incus","label":"incus","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.23.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.23.0","endInclusive":false}}],"versionsText":"< 6.23.0","eol":null,"hubHref":"/vendor/lxc/incus"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/lxc/incus/security/advisories/GHSA-q4q8-7f2j-9h9f","label":"github.com/lxc/incus/security/advisories/GHSA-q4q8-7f2j-9h9f","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Advisory","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-33945","label":"ubuntu.com/security/CVE-2026-33945","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-33945","label":"www.cve.org/CVERecord?id=CVE-2026-33945","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/lxc/incus/pull/3092","label":"github.com/lxc/incus/pull/3092","hostname":"github.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-33945","label":"security-tracker.debian.org/tracker/CVE-2026-33945","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33945","label":"nvd.nist.gov/vuln/detail/CVE-2026-33945","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/lxc/incus/commit/f74199f9983e2ce78f2b78b6d765c6635b229c82","label":"github.com/lxc/incus/commit/f74199f9983e2ce78f2b78b6d765c6635b229c82","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/lxc/incus","label":"github.com/lxc/incus","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:10450-1","OPENSUSE-SU-2026:21483-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10450-1","OPENSUSE-SU-2026:21483-1"]},"timeline":[{"kind":"published","date":"2026-03-26T23:27:45.711Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-27T20:00:08.359Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 10 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 6.23.0 (CNA); fix release not confirmed","rank":[0,0,0,0,0,100],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00493,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-03-27T20:00:08.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2026-03-27T20:00:08.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-03-27T20:00:08.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_go","date":"2026-03-27T20:00:08.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-03-27T20:00:08.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-03-27T14:09:43.149Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00493,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:54:00.136Z","stale":false,"partial":false}}