{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.75.1"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4f16c3f0664575cf915b5727684d249f6e00bcc6"
            }
          ],
          "repo": "https://github.com/canonical/snapd",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "canonical",
    "cwe_ids": [
      "CWE-268"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3888.json"
  },
  "details": "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.",
  "id": "CVE-2026-3888",
  "modified": "2026-07-08T05:37:15.257763814Z",
  "published": "2026-03-17T14:02:08.475Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/03/18/1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/canonical"
    },
    {
      "type": "WEB",
      "url": "https://github.com/canonical/snapd/"
    },
    {
      "type": "WEB",
      "url": "https://launchpad.net/ubuntu/+source/snapd"
    },
    {
      "type": "WEB",
      "url": "https://launchpad.net/ubuntu/bionic"
    },
    {
      "type": "WEB",
      "url": "https://launchpad.net/ubuntu/focal"
    },
    {
      "type": "WEB",
      "url": "https://launchpad.net/ubuntu/jammy"
    },
    {
      "type": "WEB",
      "url": "https://launchpad.net/ubuntu/noble"
    },
    {
      "type": "WEB",
      "url": "https://launchpad.net/ubuntu/xenial"
    },
    {
      "type": "ADVISORY",
      "url": "https://cdn2.qualys.com/advisory/2026/03/17/snap-confine-systemd-tmpfiles.txt"
    },
    {
      "type": "ADVISORY",
      "url": "https://discourse.ubuntu.com/t/snapd-local-privilege-escalation-cve-2026-3888"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3888.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3888"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8102-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-3888"
    },
    {
      "type": "ARTICLE",
      "url": "https://blog.qualys.com/vulnerabilities-threat-research/2026/03/17/cve-2026-3888-important-snap-flaw-enables-local-privilege-escalation-to-root"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Local Privilege Escalation in snapd"
}