{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-3888",
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "state": "PUBLISHED",
        "assignerShortName": "canonical",
        "dateReserved": "2026-03-10T16:03:08.583Z",
        "datePublished": "2026-03-17T14:02:08.475Z",
        "dateUpdated": "2026-03-18T08:59:07.522Z"
    },
    "containers": {
        "cna": {
            "title": "Local Privilege Escalation in snapd",
            "datePublic": "2026-03-17T14:00:00.000Z",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-268",
                            "description": "CWE-268 Privilege chaining",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-233",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-233 Privilege Escalation"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "collectionURL": "https://github.com/canonical",
                    "packageName": "snapd",
                    "repo": "https://github.com/canonical/snapd/",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThan": "2.75.1",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                },
                {
                    "vendor": "Canonical",
                    "product": "Ubuntu 16.04 LTS",
                    "platforms": [
                        "Linux"
                    ],
                    "collectionURL": "https://launchpad.net/ubuntu/xenial",
                    "packageName": "snapd",
                    "repo": "https://launchpad.net/ubuntu/+source/snapd",
                    "versions": [
                        {
                            "status": "unaffected",
                            "version": "2.61.4ubuntu0.16.04.1+esm2",
                            "lessThan": "*",
                            "versionType": "dpkg"
                        }
                    ],
                    "defaultStatus": "affected"
                },
                {
                    "vendor": "Canonical",
                    "product": "Ubuntu 18.04 LTS",
                    "platforms": [
                        "Linux"
                    ],
                    "collectionURL": "https://launchpad.net/ubuntu/bionic",
                    "packageName": "snapd",
                    "repo": "https://launchpad.net/ubuntu/+source/snapd",
                    "versions": [
                        {
                            "status": "unaffected",
                            "version": "2.61.4ubuntu0.18.04.1+esm2",
                            "lessThan": "*",
                            "versionType": "dpkg"
                        }
                    ],
                    "defaultStatus": "affected"
                },
                {
                    "vendor": "Canonical",
                    "product": "Ubuntu 20.04 LTS",
                    "platforms": [
                        "Linux"
                    ],
                    "collectionURL": "https://launchpad.net/ubuntu/focal",
                    "packageName": "snapd",
                    "repo": "https://launchpad.net/ubuntu/+source/snapd",
                    "versions": [
                        {
                            "status": "unaffected",
                            "version": "2.67.1+20.04ubuntu1~esm1",
                            "lessThan": "*",
                            "versionType": "dpkg"
                        }
                    ],
                    "defaultStatus": "affected"
                },
                {
                    "vendor": "Canonical",
                    "product": "Ubuntu 22.04 LTS",
                    "platforms": [
                        "Linux"
                    ],
                    "collectionURL": "https://launchpad.net/ubuntu/jammy",
                    "packageName": "snapd",
                    "repo": "https://launchpad.net/ubuntu/+source/snapd",
                    "versions": [
                        {
                            "status": "unaffected",
                            "version": "2.73+ubuntu22.04.1",
                            "lessThan": "*",
                            "versionType": "dpkg"
                        }
                    ],
                    "defaultStatus": "affected"
                },
                {
                    "vendor": "Canonical",
                    "product": "Ubuntu 24.04 LTS",
                    "platforms": [
                        "Linux"
                    ],
                    "collectionURL": "https://launchpad.net/ubuntu/noble",
                    "packageName": "snapd",
                    "repo": "https://launchpad.net/ubuntu/+source/snapd",
                    "versions": [
                        {
                            "status": "unaffected",
                            "version": "2.73+ubuntu24.04.2",
                            "lessThan": "*",
                            "versionType": "dpkg"
                        }
                    ],
                    "defaultStatus": "affected"
                }
            ],
            "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."
                }
            ],
            "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"
                    }
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Qualys Security Advisory Team",
                    "type": "finder"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "providerMetadata": {
                "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
                "shortName": "canonical",
                "dateUpdated": "2026-03-18T08:59:07.522Z"
            }
        },
        "adp": [
            {
                "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"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "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": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2026-03-18T03:02:10.640Z"
                }
            }
        ]
    }
}