{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-3888 exists.","fix":"Apply the vendor's patch.","what":"CVE-2026-3888 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 17 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-3888 and fix it if it is affected.\n\nWhat it is: CVE-2026-3888 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 17 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-3888 exists.\n\nAffected product: Canonical Ubuntu Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-3888/ (Markdown: https://insights.sbomify.com/CVE-2026-3888/index.md)","id":"CVE-2026-3888","markdown":"https://insights.sbomify.com/CVE-2026-3888/index.md","name":"CVE-2026-3888","record":{"aliases":["DEBIAN-CVE-2026-3888","DSA-6170-1","GHSA-grpw-jgrw-ccqr","UBUNTU-CVE-2026-3888","USN-8102-2"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Ubuntu snapd","requires_auth":"low_privilege","summary":"Local attackers can gain root privileges by exploiting snapd's private /tmp directory handling when systemd-tmpfiles cleanup is enabled.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"ubuntu_linux","vendor":"canonical"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-268","name":"Privilege Chaining"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-03-17","github_poc":9,"max_poc_stars":19,"metasploit":1,"nuclei":0,"refs":[{"date":"2026-03-23T01:19:14Z","kind":"github_poc","ref":"https://github.com/TheCyberGeek/CVE-2026-3888-snap-confine-systemd-tmpfiles-LPE","stars":19,"title":null},{"date":"2026-03-23T18:27:12Z","kind":"github_poc","ref":"https://github.com/noambouillet/CVE-2026-3888","stars":5,"title":"Linux LPE via snap-confine + systemd-tmpfiles, explained in depth"},{"date":"2026-03-20T08:30:33Z","kind":"github_poc","ref":"https://github.com/netw0rk7/CVE-2026-3888-PoC","stars":3,"title":null},{"date":"2026-03-18T15:33:57Z","kind":"github_poc","ref":"https://github.com/fevar54/CVE-2026-3888-POC-all-from-the-Qualys-platform.","stars":2,"title":"PoC de CVE-2026-3888: condicion de carrera en snapd para escalada a root."},{"date":"2026-10-06T16:07:23Z","kind":"github_poc","ref":"https://github.com/AlanNewberry/CVE-2026-3888-snap-confine-privilege-escalation","stars":1,"title":"Exploit para CVE-2026-3888: race condition en snap-confine con hijack del loader para escalar a root en Linux."},{"date":"2026-03-17","kind":"metasploit","ref":"exploit/linux/local/cve_2026_3888","stars":null,"title":"Local Privilege Escalation in snapd"},{"date":"2026-03-19T01:33:42Z","kind":"github_poc","ref":"https://github.com/Many-Hat-Group/Ubuntu-CVE-2026-3888-patcher","stars":0,"title":"This is a script designed for deployment on ubuntu instances patching the CVE-2026-3888 exploit "},{"date":"2026-03-31T13:46:43Z","kind":"github_poc","ref":"https://github.com/DanielTangnes/CVE-2026-3888","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"Local Privilege Escalation in snapd","id":"CVE-2026-3888","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux"],"type":"privilege_escalation","year":"2026"},"n_packages":0,"n_references":5,"next":{"headline":"Spoofing issue in Thunderbird","id":"CVE-2026-3889"},"packages":[],"prev":{"headline":"Cross-site scripting in Shortcodes Ultimate – Content Elements","id":"CVE-2026-3885"},"products":["Ubuntu 16.04 LTS","Ubuntu 18.04 LTS","Ubuntu 20.04 LTS","Ubuntu 22.04 LTS","Ubuntu 24.04 LTS"],"published":"2026-03-17","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-18","vendors":["Canonical"]},"summary":"Local attackers can gain root privileges by exploiting snapd's private /tmp directory handling when systemd-tmpfiles cleanup is enabled.","url":"https://insights.sbomify.com/CVE-2026-3888/"}