{"id":"CVE-2023-5536","aliases":["EUVD-2023-57848","GHSA-7w5c-q3c8-5c62","UBUNTU-CVE-2023-5536"],"status":"published","title":"A feature in LXD (LP#1829071), affects the default configuration of Ubuntu Server which allows...","description":"A feature in LXD (LP#1829071), affects the default configuration of Ubuntu Server which allows privileged users in the lxd group to escalate their privilege to root without requiring a sudo password.","severity":{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00244,"percentile":0.15706,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-276"],"published":"2023-12-11T00:00:00Z","modified":"2026-06-17T06:48:47Z","exploits":[{"source":"pocgithub","id":"karthikparambil/lxd2root","title":"karthikparambil/lxd2root","date":"2025-11-07","url":"https://github.com/karthikparambil/lxd2root"}],"affected":[{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"cloud-init","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.7~bzr1149-0ubuntu1","0.7.7~bzr1154-0ubuntu1","0.7.7~bzr1155-0ubuntu1","0.7.7~bzr1156-0ubuntu1","0.7.7~bzr1156-0ubuntu2","0.7.7~bzr1160-0ubuntu1","0.7.7~bzr1176-0ubuntu1","0.7.7~bzr1182-0ubuntu1","0.7.7~bzr1189-0ubuntu1","0.7.7~bzr1192-0ubuntu1","0.7.7~bzr1192-0ubuntu2","0.7.7~bzr1200-0ubuntu1","0.7.7~bzr1208-0ubuntu1","0.7.7~bzr1209-0ubuntu1","0.7.7~bzr1212-0ubuntu1","0.7.7~bzr1246-0ubuntu1~16.04.1","0.7.7~bzr1256-0ubuntu1~16.04.1","0.7.8-1-g3705bb5-0ubuntu1~16.04.1","0.7.8-1-g3705bb5-0ubuntu1~16.04.3","0.7.8-49-g9e904bb-0ubuntu1~16.04.1","0.7.8-49-g9e904bb-0ubuntu1~16.04.2","0.7.8-49-g9e904bb-0ubuntu1~16.04.3","0.7.8-49-g9e904bb-0ubuntu1~16.04.4","0.7.9-0ubuntu1~16.04.2","0.7.9-48-g1c795b9-0ubuntu1~16.04.1","0.7.9-90-g61eb03fe-0ubuntu1~16.04.1","0.7.9-113-g513e99e0-0ubuntu1~16.04.1","0.7.9-153-g16a7302f-0ubuntu1~16.04.1","0.7.9-153-g16a7302f-0ubuntu1~16.04.2","0.7.9-233-ge586fe35-0ubuntu1~16.04.1","0.7.9-233-ge586fe35-0ubuntu1~16.04.2","17.1-27-geb292c18-0ubuntu1~16.04.1","17.1-46-g7acc9e68-0ubuntu1~16.04.1","17.2-35-gf576b2a2-0ubuntu1~16.04.2","18.2-4-g05926e48-0ubuntu1~16.04.1","18.2-4-g05926e48-0ubuntu1~16.04.2","18.3-9-g2e62cb8a-0ubuntu1~16.04.2","18.4-0ubuntu1~16.04.2","18.5-21-g8ee294d5-0ubuntu1~16.04.1","18.5-45-g3554ffe8-0ubuntu1~16.04.1","19.1-1-gbaa47854-0ubuntu1~16.04.1","19.2-24-ge7881d5c-0ubuntu1~16.04.1","19.2-36-g059d049c-0ubuntu1~16.04.1","19.2-36-g059d049c-0ubuntu2~16.04.1","19.3-41-gc4735dd3-0ubuntu1~16.04.1","19.4-33-gbb4131a2-0ubuntu1~16.04.1","20.2-45-g5f7825e2-0ubuntu1~16.04.1","20.3-2-g371b392c-0ubuntu1~16.04.1","20.4-0ubuntu1~16.04.1","20.4-0ubuntu1~16.04.2","20.4.1-0ubuntu1~16.04.1","21.1-19-gbad84ad4-0ubuntu1~16.04.1","21.1-19-gbad84ad4-0ubuntu1~16.04.2","21.1-19-gbad84ad4-0ubuntu1~16.04.4","21.1-19-gbad84ad4-0ubuntu1~16.04.4+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"cloud-init","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["17.1-18-gd4f70470-0ubuntu1","17.1-25-g17a15f9e-0ubuntu1~17.10.1","17.1-25-g17a15f9e-0ubuntu1","17.1-27-geb292c18-0ubuntu1","17.1-41-g76243487-0ubuntu1","17.1-46-g7acc9e68-0ubuntu1","17.1-51-g05b2308a-0ubuntu1","17.1-53-ga5dc0f42-0ubuntu1","17.1-58-g703241a3-0ubuntu1","17.1-60-ga30a3bb5-0ubuntu1","17.2-1-g4089e20c-0ubuntu1","17.2-9-gdf24daa8-0ubuntu1","17.2-13-g6299e8d0-0ubuntu1","17.2-20-g32a6a176-0ubuntu1","17.2-25-gc03bdd3d-0ubuntu1","17.2-30-gf7deaf15-0ubuntu1","17.2-34-g644048e3-0ubuntu1","18.1-0ubuntu1","18.1-5-g40e77380-0ubuntu1","18.1-17-g97012fbb-0ubuntu1","18.1-23-gde34dc7c-0ubuntu1","18.1-26-g685f9901-0ubuntu1","18.1-35-ge0f644b7-0ubuntu1","18.1-35-ge0f644b7-0ubuntu2","18.2-0ubuntu1","18.2-4-g05926e48-0ubuntu1","18.2-4-g05926e48-0ubuntu2","18.2-9-g49b562c9-0ubuntu1","18.2-14-g6d48d265-0ubuntu1","18.2-27-g6ef92c98-0ubuntu1~18.04.1","18.3-9-g2e62cb8a-0ubuntu1~18.04.2","18.4-0ubuntu1~18.04.1","18.5-21-g8ee294d5-0ubuntu1~18.04.1","18.5-45-g3554ffe8-0ubuntu1~18.04.1","19.1-1-gbaa47854-0ubuntu1~18.04.1","19.2-24-ge7881d5c-0ubuntu1~18.04.1","19.2-36-g059d049c-0ubuntu1~18.04.1","19.2-36-g059d049c-0ubuntu2~18.04.1","19.3-41-gc4735dd3-0ubuntu1~18.04.1","19.4-33-gbb4131a2-0ubuntu1~18.04.1","20.2-45-g5f7825e2-0ubuntu1~18.04.1","20.3-2-g371b392c-0ubuntu1~18.04.1","20.4-0ubuntu1~18.04.1","20.4-0ubuntu1~18.04.2","20.4.1-0ubuntu1~18.04.1","21.1-19-gbad84ad4-0ubuntu1~18.04.1","21.1-19-gbad84ad4-0ubuntu1~18.04.2","21.2-3-g899bfaa9-0ubuntu2~18.04.1","21.3-1-g6803368d-0ubuntu1~18.04.3","21.3-1-g6803368d-0ubuntu1~18.04.4","21.4-0ubuntu1~18.04.1","22.1-14-g2e17a0d6-0ubuntu1~18.04.2","22.1-14-g2e17a0d6-0ubuntu1~18.04.3","22.2-0ubuntu1~18.04.1","22.2-0ubuntu1~18.04.2","22.2-0ubuntu1~18.04.3","22.3.4-0ubuntu1~18.04.1","22.4.2-0ubuntu0~18.04.1","23.1.1-0ubuntu0~18.04.1","23.1.2-0ubuntu0~18.04.1","23.1.2-0ubuntu0~18.04.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"subiquity","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.29"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"cloud-init","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["19.2-36-g059d049c-0ubuntu3","19.2-78-ge8138959-0ubuntu1","19.3-0ubuntu1","19.3-23-gfb04493e-0ubuntu1","19.3-30-g4bc399e0-0ubuntu1","19.3-40-gf69d33a7-0ubuntu1","19.3-41-gc4735dd3-0ubuntu1","19.3-74-g129b1c4e-0ubuntu1","19.4-1-g8c96cbc1-0ubuntu1","19.4-16-gf8950d63-0ubuntu1","19.4-31-g3f6192b3-0ubuntu1","19.4-33-gbb4131a2-0ubuntu1","19.4-56-g06e324ff-0ubuntu1","20.1-0ubuntu1","20.1-5-g67c8e53c-0ubuntu1","20.1-9-g1f860e5a-0ubuntu1","20.1-10-g71af48df-0ubuntu1","20.1-10-g71af48df-0ubuntu2","20.1-10-g71af48df-0ubuntu3","20.1-10-g71af48df-0ubuntu5","20.2-45-g5f7825e2-0ubuntu1~20.04.1","20.3-2-g371b392c-0ubuntu1~20.04.1","20.4-0ubuntu1~20.04.1","20.4-0ubuntu1~20.04.2","20.4.1-0ubuntu1~20.04.1","21.1-19-gbad84ad4-0ubuntu1~20.04.1","21.1-19-gbad84ad4-0ubuntu1~20.04.2","21.2-3-g899bfaa9-0ubuntu2~20.04.1","21.3-1-g6803368d-0ubuntu1~20.04.3","21.3-1-g6803368d-0ubuntu1~20.04.4","21.4-0ubuntu1~20.04.1","22.1-14-g2e17a0d6-0ubuntu1~20.04.2","22.1-14-g2e17a0d6-0ubuntu1~20.04.3","22.2-0ubuntu1~20.04.1","22.2-0ubuntu1~20.04.2","22.2-0ubuntu1~20.04.3","22.3.4-0ubuntu1~20.04.1","22.4.2-0ubuntu0~20.04.1","22.4.2-0ubuntu0~20.04.2","23.1.1-0ubuntu0~20.04.1","23.1.2-0ubuntu0~20.04.1","23.1.2-0ubuntu0~20.04.2","23.2.1-0ubuntu0~20.04.2","23.2.2-0ubuntu0~20.04.1","23.3.1-0ubuntu1~20.04.1","23.3.3-0ubuntu0~20.04.1","23.4.3-0ubuntu0~20.04.1","23.4.4-0ubuntu0~20.04.1","24.1.3-0ubuntu1~20.04.1","24.1.3-0ubuntu1~20.04.4","24.1.3-0ubuntu1~20.04.5","24.2-0ubuntu1~20.04.1","24.3.1-0ubuntu0~20.04.1","24.4-0ubuntu1~20.04.1","24.4.1-0ubuntu0~20.04.1","24.4.1-0ubuntu0~20.04.2","24.4.1-0ubuntu0~20.04.3","24.4.1-0ubuntu0~20.04.3+esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"subiquity","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["19.08.1.4","19.12.1.1","19.12.1.1+git71gea8d463f","19.12.2+git106g3d9374ad","20.03.3+git107gb7ae4d06","20.03.3+git147gb34aeda0","20.04.1+git45g5f9fae19","20.04.1+git45g5f9fae19ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"cloud-init","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["21.3-1-g6803368d-0ubuntu3","21.4-0ubuntu1~22.04.1","21.4-25-g039c40f9-0ubuntu1~22.04.1","21.4-119-gdeb3ae82-0ubuntu1~22.04.1","21.4-119-gdeb3ae82-0ubuntu1~22.04.2","22.1-1-gb3d9acdd-0ubuntu1~22.04.1","22.1-14-g2e17a0d6-0ubuntu1~22.04.1","22.1-14-g2e17a0d6-0ubuntu1~22.04.2","22.1-14-g2e17a0d6-0ubuntu1~22.04.3","22.1-14-g2e17a0d6-0ubuntu1~22.04.4","22.1-14-g2e17a0d6-0ubuntu1~22.04.5","22.2-0ubuntu1~22.04.1","22.2-0ubuntu1~22.04.2","22.2-0ubuntu1~22.04.3","22.3.4-0ubuntu1~22.04.1","22.4.2-0ubuntu0~22.04.1","23.1.1-0ubuntu0~22.04.1","23.1.2-0ubuntu0~22.04.1","23.2.1-0ubuntu0~22.04.1","23.2.2-0ubuntu0~22.04.1","23.3.1-0ubuntu1~22.04.1","23.3.3-0ubuntu0~22.04.1","23.4.3-0ubuntu0~22.04.1","23.4.4-0ubuntu0~22.04.1","24.1.3-0ubuntu1~22.04.1","24.1.3-0ubuntu1~22.04.4","24.1.3-0ubuntu1~22.04.5","24.2-0ubuntu1~22.04.1","24.3.1-0ubuntu0~22.04.1","24.4-0ubuntu1~22.04.1","24.4.1-0ubuntu0~22.04.1","24.4.1-0ubuntu0~22.04.2","25.1.2-0ubuntu0~22.04.1","25.1.2-0ubuntu0~22.04.2","25.1.4-0ubuntu0~22.04.1","25.2-0ubuntu1~22.04.1","25.3-0ubuntu1~22.04.1","26.1-0ubuntu1~22.04.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"subiquity","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.04.3+git84g6a5e36ed"]}],"products":[{"vendor":"canonical","product":"ubuntu server"},{"vendor":"canonical","product":"ubuntu_linux"}],"references":[{"url":"https://discourse.ubuntu.com/t/easy-multi-user-lxd-setup/26215/4","tags":["mitigation","x_transferred","Vendor Advisory","report"]},{"url":"https://ubuntu.com/security/CVE-2023-5536","tags":["issue-tracking","x_transferred","Vendor Advisory","report"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1829071","tags":["issue-tracking","x_transferred","Issue Tracking","Vendor Advisory","report"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5536","tags":["issue-tracking","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5536"},{"url":"https://github.com/advisories/GHSA-7w5c-q3c8-5c62"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-5536","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-5536","description":"A feature in LXD (LP#1829071), affects the default configuration of Ubuntu Server which allows privileged users in the lxd group to escalate their privilege to root without requiring a sudo password.","status":"published","published":"2023-12-12T01:51:08.849Z","modified":"2024-08-02T07:59:44.785Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:35:17.149492Z"}],"euvd":[{"id":"EUVD-2023-57848","description":"A feature in LXD (LP#1829071), affects the default configuration of Ubuntu Server which allows privileged users in the lxd group to escalate their privilege to root without requiring a sudo password.","status":"published","published":"2023-12-12T01:51:08Z","modified":"2024-08-02T07:59:44Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T03:50:11.629738Z"}],"ghsa":[{"id":"GHSA-7w5c-q3c8-5c62","title":"A feature in LXD (LP#1829071), affects the default configuration of Ubuntu Server which allows...","description":"A feature in LXD (LP#1829071), affects the default configuration of Ubuntu Server which allows privileged users in the lxd group to escalate their privilege to root without requiring a sudo password.","status":"published","published":"2023-12-12T03:31:45Z","modified":"2023-12-27T05:05:06Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-276"],"updated_at":"2026-11-02T14:55:16.928981Z"}],"nvd":[{"id":"CVE-2023-5536","description":"A feature in LXD (LP#1829071), affects the default configuration of Ubuntu Server which allows privileged users in the lxd group to escalate their privilege to root without requiring a sudo password.","status":"published","published":"2023-12-12T02:15:09.003Z","modified":"2026-06-17T06:48:47.363Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-276"],"updated_at":"2026-11-02T14:08:54.010507Z"}],"osv":[{"id":"UBUNTU-CVE-2023-5536","description":"A feature in LXD (LP#1829071), affects the default configuration of Ubuntu Server which allows privileged users in the lxd group to escalate their privilege to root without requiring a sudo password.","status":"published","published":"2023-12-11T00:00:00Z","modified":"2026-06-01T23:15:06.510041722Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N","level":"medium"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T16:54:41.555387Z"}]}}
