{"schemaVersion":4,"id":"CVE-2026-115843","aliases":["DEBIAN-CVE-2026-115843","UBUNTU-CVE-2026-115843"],"status":"published","duplicateOf":null,"title":"lxd: Arbitrary host file write and delete as root via unvalidated snapshot names in custom volume push migration","description":"In LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2, an improper limitation of a pathname to a restricted directory vulnerability allows an authenticated client restricted to a single project to write and delete files at arbitrary host filesystem paths as root.\n\n When a custom storage volume is pushed to a LXD daemon, the snapshot names supplied by the migration peer are never validated and are used to build the filesystem path of each received snapshot. This allows an attacker to place attacker-controlled files into any host directory as root, gaining root-level code execution on the host, and to recursively delete an attacker-chosen path.","dates":{"published":"2026-11-26T23:16:06.222Z","modified":"2026-12-03T16:58:42.365Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00697,"percentile":0.54438,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-27T00:00:00.000Z","score":0.00696,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00697,"percentile":0.54438}],"last30":[{"date":"2026-11-27T00:00:00.000Z","score":0.00696,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00697,"percentile":0.54438}]},"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-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"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":"canonical","product":"lxd","name":"LXD","label":"lxd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0, < 4.0.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0","startInclusive":true,"end":"4.0.16","endInclusive":false}},{"text":"≥ 4.0, < 5.0.12","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0","startInclusive":true,"end":"5.0.12","endInclusive":false}},{"text":"≥ 4.0, < 5.21.10","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0","startInclusive":true,"end":"5.21.10","endInclusive":false}},{"text":"≥ 4.0, < 6.10.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0","startInclusive":true,"end":"6.10.2","endInclusive":false}}],"versionsText":"≥ 4.0, < 4.0.16 | ≥ 4.0, < 5.0.12 | ≥ 4.0, < 5.21.10 | ≥ 4.0, < 6.10.2","eol":null,"hubHref":"/vendor/canonical/lxd"},{"vendor":"debian","product":"incus","name":"incus","label":"incus","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/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":"debian","product":"lxd","name":"lxd","label":"lxd","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/lxd","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"lxd","name":"lxd","label":"lxd","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/lxd","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-hfwr-h8hx-pw2g","label":"github.com/canonical/lxd/security/advisories/GHSA-hfwr-h8hx-pw2g","hostname":"github.com","tags":["Vendor Advisory","REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-115843","label":"security-tracker.debian.org/tracker/CVE-2026-115843","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-115843","label":"ubuntu.com/security/CVE-2026-115843","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-115843","label":"www.cve.org/CVERecord?id=CVE-2026-115843","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-26T23:16:06.222Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-03T16:58:42.365Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,65],"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.00697,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-03T16:58:42.365Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","version":"4.0","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-03T16:58:42.365Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"osv_debian","date":"2026-12-03T16:58:42.365Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-12-03T16:58:42.365Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-12-03T16:50:14.130Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00697,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T13:01:25.582Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T13:01:26.078Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T13:01:07.092Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T13:01:23.911Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T13:01:22.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T13:09:47.188Z","stale":false,"partial":false}}