{"id":"CVE-2026-3888","state":"PUBLISHED","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.","publishedAt":"2026-03-17T14:02:08.475Z","updatedAt":"2026-03-18T08:59:07.522Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"canonical"},"assigner":"canonical","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"],"affected":[{"packageName":"snapd","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.75.1","versionType":"semver"}],"collectionURL":"https://github.com/canonical","repo":"https://github.com/canonical/snapd/"},{"vendor":"Canonical","product":"Ubuntu 16.04 LTS","packageName":"snapd","defaultStatus":"affected","versions":[{"version":"2.61.4ubuntu0.16.04.1+esm2","status":"unaffected","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"],"collectionURL":"https://launchpad.net/ubuntu/xenial","repo":"https://launchpad.net/ubuntu/+source/snapd"},{"vendor":"Canonical","product":"Ubuntu 18.04 LTS","packageName":"snapd","defaultStatus":"affected","versions":[{"version":"2.61.4ubuntu0.18.04.1+esm2","status":"unaffected","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"],"collectionURL":"https://launchpad.net/ubuntu/bionic","repo":"https://launchpad.net/ubuntu/+source/snapd"},{"vendor":"Canonical","product":"Ubuntu 20.04 LTS","packageName":"snapd","defaultStatus":"affected","versions":[{"version":"2.67.1+20.04ubuntu1~esm1","status":"unaffected","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"],"collectionURL":"https://launchpad.net/ubuntu/focal","repo":"https://launchpad.net/ubuntu/+source/snapd"},{"vendor":"Canonical","product":"Ubuntu 22.04 LTS","packageName":"snapd","defaultStatus":"affected","versions":[{"version":"2.73+ubuntu22.04.1","status":"unaffected","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"],"collectionURL":"https://launchpad.net/ubuntu/jammy","repo":"https://launchpad.net/ubuntu/+source/snapd"},{"vendor":"Canonical","product":"Ubuntu 24.04 LTS","packageName":"snapd","defaultStatus":"affected","versions":[{"version":"2.73+ubuntu24.04.2","status":"unaffected","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"],"collectionURL":"https://launchpad.net/ubuntu/noble","repo":"https://launchpad.net/ubuntu/+source/snapd"}],"references":["https://ubuntu.com/security/CVE-2026-3888","https://ubuntu.com/security/notices/USN-8102-1","https://discourse.ubuntu.com/t/snapd-local-privilege-escalation-cve-2026-3888","https://blog.qualys.com/vulnerabilities-threat-research/2026/03/17/cve-2026-3888-important-snap-flaw-enables-local-privilege-escalation-to-root","https://cdn2.qualys.com/advisory/2026/03/17/snap-confine-systemd-tmpfiles.txt","http://www.openwall.com/lists/oss-security/2026/03/18/1"],"weaknesses":["CWE-268"],"ingestedAt":"2026-10-29T20:11:50.837Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/3xxx/CVE-2026-3888.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-3888","state":"PUBLISHED","datePublished":"2026-03-17T14:02:08.475Z","dateUpdated":"2026-03-18T08:59:07.522Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2026-03-10T16:03:08.583Z"},"containers":{"cna":{"title":"Local Privilege Escalation in snapd","descriptions":[{"lang":"en","value":"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."}],"affected":[{"packageName":"snapd","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.75.1","versionType":"semver"}],"collectionURL":"https://github.com/canonical","repo":"https://github.com/canonical/snapd/"},{"vendor":"Canonical","product":"Ubuntu 16.04 LTS","packageName":"snapd","defaultStatus":"affected","versions":[{"version":"2.61.4ubuntu0.16.04.1+esm2","status":"unaffected","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"],"collectionURL":"https://launchpad.net/ubuntu/xenial","repo":"https://launchpad.net/ubuntu/+source/snapd"},{"vendor":"Canonical","product":"Ubuntu 18.04 LTS","packageName":"snapd","defaultStatus":"affected","versions":[{"version":"2.61.4ubuntu0.18.04.1+esm2","status":"unaffected","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"],"collectionURL":"https://launchpad.net/ubuntu/bionic","repo":"https://launchpad.net/ubuntu/+source/snapd"},{"vendor":"Canonical","product":"Ubuntu 20.04 LTS","packageName":"snapd","defaultStatus":"affected","versions":[{"version":"2.67.1+20.04ubuntu1~esm1","status":"unaffected","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"],"collectionURL":"https://launchpad.net/ubuntu/focal","repo":"https://launchpad.net/ubuntu/+source/snapd"},{"vendor":"Canonical","product":"Ubuntu 22.04 LTS","packageName":"snapd","defaultStatus":"affected","versions":[{"version":"2.73+ubuntu22.04.1","status":"unaffected","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"],"collectionURL":"https://launchpad.net/ubuntu/jammy","repo":"https://launchpad.net/ubuntu/+source/snapd"},{"vendor":"Canonical","product":"Ubuntu 24.04 LTS","packageName":"snapd","defaultStatus":"affected","versions":[{"version":"2.73+ubuntu24.04.2","status":"unaffected","lessThan":"*","versionType":"dpkg"}],"platforms":["Linux"],"collectionURL":"https://launchpad.net/ubuntu/noble","repo":"https://launchpad.net/ubuntu/+source/snapd"}],"references":[{"url":"https://ubuntu.com/security/CVE-2026-3888","tags":["vdb-entry","issue-tracking"]},{"url":"https://ubuntu.com/security/notices/USN-8102-1","tags":["vendor-advisory"]},{"url":"https://discourse.ubuntu.com/t/snapd-local-privilege-escalation-cve-2026-3888","tags":["technical-description","vendor-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"]},{"url":"https://cdn2.qualys.com/advisory/2026/03/17/snap-confine-systemd-tmpfiles.txt","tags":["technical-description","media-coverage"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"HIGH","baseScore":7.8,"vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-268","lang":"en","description":"CWE-268 Privilege chaining","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2026-03-18T08:59:07.522Z"},"datePublic":"2026-03-17T14:00:00.000Z","impacts":[{"capecId":"CAPEC-233","descriptions":[{"lang":"en","value":"CAPEC-233 Privilege Escalation"}]}],"credits":[{"lang":"en","value":"Qualys Security Advisory Team","type":"finder"}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-17T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-3888"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-18T03:55:45.787Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/03/18/1"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-03-18T03:02:10.640Z"}}]}}}