{"schemaVersion":4,"id":"CVE-2026-33897","aliases":["UBUNTU-CVE-2026-33897","DEBIAN-CVE-2026-33897","GHSA-83xr-5xxr-mh92","GO-2026-4881"],"status":"published","duplicateOf":null,"title":"Incus vulnerable to arbitrary file read and write through pongo templates","description":"Incus is a system container and virtual machine manager. Prior to version 6.23.0, instance template files can be used to cause arbitrary read or writes as root on the host server. Incus allows for pongo2 templates within instances which can be used at various times in the instance lifecycle to template files inside of the instance. This particular implementation of pongo2 within Incus allowed for file read/write but with the expectation that the pongo2 chroot feature would isolate all such access to the instance's filesystem. This was allowed such that a template could theoretically read a file and then generate a new version of said file. Unfortunately the chroot isolation mechanism is entirely skipped by pongo2 leading to easy access to the entire system's filesystem with root privileges. Version 6.23.0 patches the issue.","dates":{"published":"2026-03-26T22:43:31.392Z","modified":"2026-03-27T20:02:55.502Z","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.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":"OSV · Debian","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":"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.9,"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}]},"epss":{"probability":0.0053,"percentile":0.46343,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.04099999999999998,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00489},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.0055,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.0055,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0053,"percentile":0.46343}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.005,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0053,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0053,"percentile":0.46343}]},"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-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine","description":"The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1336.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.4-2+deb13u5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.0.4-2+deb13u5","endInclusive":false}},{"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.4-2+deb13u5 | < 6.0.6-2","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"}},{"text":"< 5.0.2+git20231211.1364ae4-9+deb13u4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"5.0.2+git20231211.1364ae4-9+deb13u4","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 5.0.2+git20231211.1364ae4-9+deb13u4","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":"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},{"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":"≤ 0.7.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.7.0","endInclusive":true}},{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"≤ 0.7.0 | 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":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/lxc/incus/security/advisories/GHSA-83xr-5xxr-mh92","label":"github.com/lxc/incus/security/advisories/GHSA-83xr-5xxr-mh92","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Advisory","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-33897","label":"ubuntu.com/security/CVE-2026-33897","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-33897","label":"www.cve.org/CVERecord?id=CVE-2026-33897","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-33897","label":"security-tracker.debian.org/tracker/CVE-2026-33897","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33897","label":"nvd.nist.gov/vuln/detail/CVE-2026-33897","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/lxc/incus/commit/487edf5984fad89b0f762c03a7e211fdd38396fb","label":"github.com/lxc/incus/commit/487edf5984fad89b0f762c03a7e211fdd38396fb","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":["DSA-6184-1","DSA-6188-1","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-26T22:43:31.392Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-27T20:02:55.502Z","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 1% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 6.23.0 (CNA); fix release not confirmed","rank":[0,0,0,0,1,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.0053,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-03-27T20:02:55.502Z","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:02:55.502Z","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":"osv_debian","date":"2026-03-27T20:02:55.502Z","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":"osv_go","date":"2026-03-27T20:02:55.502Z","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:02:55.502Z","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":"adp","source":"cisa-adp","date":"2026-03-27T20:02:45.794Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0053,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:16:19.735Z","stale":false,"partial":false}}