{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-3888","id":"CVE-2026-3888","title":"Local Privilege Escalation in snapd","description":"Local privilege escalation in snapd on Linux allows local attackers to get root privilege by re-creating snap's private /tmp directory when systemd-tmpfiles is configured to automatically clean up this directory. This issue affects Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, and 24.04 LTS.","descriptionLong":"Local privilege escalation in snapd on Linux allows local attackers to get root privilege by re-creating snap's private /tmp directory when systemd-tmpfiles is configured to automatically clean up this directory. This issue affects Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, and 24.04 LTS.","published":"2026-03-17T14:02:08.475Z","updated":"2026-10-28T02:30:35.817501361Z","reserved":"2026-03-10T16:03:08.583Z","status":"Analyzed","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"canonical"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"canonical"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"ubuntu.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["snapd","Canonical Ubuntu 16.04 LTS","Canonical Ubuntu 18.04 LTS","Canonical Ubuntu 20.04 LTS","Canonical Ubuntu 22.04 LTS","Canonical Ubuntu 24.04 LTS"],"affectedProducts":[{"vendor":"","product":"snapd","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"2.75.1","versionType":"semver"}],"platforms":[]},{"vendor":"Canonical","product":"Ubuntu 16.04 LTS","defaultStatus":"affected","versions":[{"status":"unaffected","version":"2.61.4ubuntu0.16.04.1+esm2","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"]},{"vendor":"Canonical","product":"Ubuntu 18.04 LTS","defaultStatus":"affected","versions":[{"status":"unaffected","version":"2.61.4ubuntu0.18.04.1+esm2","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"]},{"vendor":"Canonical","product":"Ubuntu 20.04 LTS","defaultStatus":"affected","versions":[{"status":"unaffected","version":"2.67.1+20.04ubuntu1~esm1","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"]},{"vendor":"Canonical","product":"Ubuntu 22.04 LTS","defaultStatus":"affected","versions":[{"status":"unaffected","version":"2.73+ubuntu22.04.1","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"]},{"vendor":"Canonical","product":"Ubuntu 24.04 LTS","defaultStatus":"affected","versions":[{"status":"unaffected","version":"2.73+ubuntu24.04.2","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"]}],"packages":[],"cwes":["CWE-268"],"aliases":[],"references":[{"url":"https://ubuntu.com/security/CVE-2026-3888","tags":["vdb-entry","issue-tracking","Third Party Advisory","report"]},{"url":"https://ubuntu.com/security/notices/USN-8102-1","tags":["vendor-advisory","Third Party Advisory","advisory"]},{"url":"https://discourse.ubuntu.com/t/snapd-local-privilege-escalation-cve-2026-3888","tags":["technical-description","vendor-advisory","Mitigation","Third Party Advisory","advisory"]},{"url":"https://blog.qualys.com/vulnerabilities-threat-research/2026/03/17/cve-2026-3888-important-snap-flaw-enables-local-privilege-escalation-to-root","tags":["technical-description","media-coverage","Mitigation","Third Party Advisory","article"]},{"url":"https://cdn2.qualys.com/advisory/2026/03/17/snap-confine-systemd-tmpfiles.txt","tags":["technical-description","media-coverage","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/03/18/1","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/canonical","tags":["web"]},{"url":"https://github.com/canonical/snapd/","tags":["web"]},{"url":"https://launchpad.net/ubuntu/+source/snapd","tags":["web"]},{"url":"https://launchpad.net/ubuntu/bionic","tags":["web"]},{"url":"https://launchpad.net/ubuntu/focal","tags":["web"]},{"url":"https://launchpad.net/ubuntu/jammy","tags":["web"]},{"url":"https://launchpad.net/ubuntu/noble","tags":["web"]},{"url":"https://launchpad.net/ubuntu/xenial","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3888.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3888","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01431,"epssPercentile":0.73599,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-3888","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3888","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-3888","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-3888","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}