{"schemaVersion":3,"id":"CVE-2026-23953","aliases":["UBUNTU-CVE-2026-23953","DEBIAN-CVE-2026-23953","GHSA-x6jc-phwx-hp32","GO-2026-4359"],"status":"published","duplicateOf":null,"title":null,"description":"Incus is a system container and virtual machine manager. In versions 6.20.0 and below, a user with the ability to launch a container with a custom YAML configuration (e.g a member of the ‘incus’ group) can create an environment variable containing newlines, which can be used to add additional configuration items in the container’s lxc.conf due to newline injection. This can allow adding arbitrary lifecycle hooks, ultimately resulting in arbitrary command execution on the host. Exploiting this issue on IncusOS requires a slight modification of the payload to change to a different writable directory for the validation step (e.g /tmp). This can be confirmed with a second container with /tmp mounted from the host (A privileged action for validation only). A fix is planned for versions 6.0.6\nand 6.21.0, but they have not been released at the time of publication.","dates":{"published":"2026-01-22T21:39:41.015Z","modified":"2026-01-26T21:00:46.311Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","exploitability":5.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","exploitability":5.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","exploitability":5.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0049,"percentile":0.40878,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.008000000000000021,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00498},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0049,"percentile":0.40878}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0049,"percentile":0.40878}]},"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":[{"id":"GITHUB_LXC_INCUS","name":"Incus","source":"github","url":"https://github.com/lxc/incus/security/advisories/GHSA-56mx-8g9f-5crf","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"GITHUB_USER-ATTACHMENTS_FILES","name":"Files","source":"github","url":"https://github.com/user-attachments/files/16767988/ouch.crash.report.docx","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences ('CRLF Injection')","description":"The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/93.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+deb13u4","noFixRecorded":false,"fixedIn":null},{"text":"< 6.0.5-8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.4-2+deb13u4 | < 6.0.5-8","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},{"text":"< 5.0.2+git20231211.1364ae4-9+deb13u3","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 5.0.2+git20231211.1364ae4-9+deb13u3","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}],"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}],"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}],"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.21.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.1.0","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 6.21.0 | ≥ 6.1.0 (No fix recorded)","eol":null,"hubHref":null},{"vendor":"linuxcontainers","product":"incus","name":"incus","label":"incus","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 6.0.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.1.0, < 6.21.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 6.0.5 | ≥ 6.1.0, < 6.21.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.1.0, ≤ 6.20.0","noFixRecorded":false,"fixedIn":null},{"text":"≤ 6.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.1.0, ≤ 6.20.0 | ≤ 6.0.5","eol":null,"hubHref":"/vendor/lxc/incus"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/lxc/incus/security/advisories/GHSA-x6jc-phwx-hp32","label":"github.com/lxc/incus/security/advisories/GHSA-x6jc-phwx-hp32","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go#L1081","label":"github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Product"]},{"url":"https://github.com/user-attachments/files/24473682/environment_newline_injection.sh","label":"github.com/user-attachments/files/24473682/environment_newline_injection.sh","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Exploit"]},{"url":"https://github.com/user-attachments/files/24473685/environment_newline_injection.patch","label":"github.com/user-attachments/files/24473685/environment_newline_injection.patch","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch"]},{"url":"https://ubuntu.com/security/CVE-2026-23953","label":"ubuntu.com/security/CVE-2026-23953","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-23953","label":"www.cve.org/CVERecord?id=CVE-2026-23953","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-23953","label":"security-tracker.debian.org/tracker/CVE-2026-23953","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23953","label":"nvd.nist.gov/vuln/detail/CVE-2026-23953","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/lxc/incus","label":"github.com/lxc/incus","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["DSA-6109-1","DSA-6153-1","OPENSUSE-SU-2026:10280-1","OPENSUSE-SU-2026:21483-1","SUSE-SU-2026:0403-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10280-1","OPENSUSE-SU-2026:21483-1","SUSE-SU-2026:0403-1"]},"timeline":[{"kind":"published","date":"2026-01-22T21:39:41.015Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-01-26T21:00:46.311Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:06:26.063Z","stale":false,"partial":false}}