CVE-2026-8933

snap-confine Local Privilege Escalation via Capabilities Misconfiguration or Flaw in Execution Environment Setup

Published Jul 21, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
A local privilege escalation vulnerability exists in snap-confine, a set-capabilities core component used internally by Canonical snapd to construct the secure execution environment for snap applications. This vulnerability uniquely affects versions of snap-confine configured with set-capabilities (rather than standard set-uid-root installations).
Due to a flaw in how privilege boundaries or security sandboxes are initialized when the binary runs under limited ambient capabilities, a local, unprivileged attacker can exploit this behavior to bypass intended restrictions and execute arbitrary code. Successful exploitation allows the local user to elevate their privileges to full root authority.

Analysis

AI-generated

Technical impact

The vulnerability arises in snap-confine, the capability sandbox used by snapd to isolate snap applications. A flaw in the initialization of privilege boundaries when the binary runs with limited ambient capabilities allows a local, non‑root user to bypass the intended restrictions and execute arbitrary code. Successful exploitation elevates the attacker to full root authority, providing complete control over the host.

Affected Systems

Affected releases are Canonical’s Ubuntu 22.04 LTS, 24.04 LTS, and 26.04 LTS. The issue manifests only in versions of snap-confine that are configured to use the set‑capabilities mechanism rather than the default set‑uid‑root installation. Users running snapd on these distributions with the set‑capabilities variant are at risk.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity local privilege escalation. The EPSS score is less than 1 %, suggesting a low probability of exploitation at this time, and the vulnerability is not listed in CISA’s KEV catalog. Nevertheless, the attack requires local access and the possibility of modifying ambient capabilities, so any user who can execute untrusted code or commands on the machine could exploit it. The risk remains significant because the impact is full root access, but the low EPSS implies that immediate detection and patching are prudent.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest snap‑confine update from Canonical’s repository
  • Reconfigure snap‑confine to use the default set‑uid‑root mode instead of set‑capabilities, removing any custom ambient capabilities
  • Monitor system logs for snap‑confine activity and restrict use of set‑capabilities until a newer update is released

Generated by OpenCVE AI on July 30, 2026 at 17:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8579-1 snapd vulnerabilities
References
History
Type Values Removed Values Added
First Time appeared Canonical
Canonical ubuntu
Vendors & Products Canonical
Canonical ubuntu
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A local privilege escalation vulnerability exists in snap-confine, a set-capabilities core component used internally by Canonical snapd to construct the secure execution environment for snap applications. This vulnerability uniquely affects versions of snap-confine configured with set-capabilities (rather than standard set-uid-root installations). Due to a flaw in how privilege boundaries or security sandboxes are initialized when the binary runs under limited ambient capabilities, a local, unprivileged attacker can exploit this behavior to bypass intended restrictions and execute arbitrary code. Successful exploitation allows the local user to elevate their privileges to full root authority.
Title snap-confine Local Privilege Escalation via Capabilities Misconfiguration or Flaw in Execution Environment Setup
Weaknesses CWE-250
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-250

    Execution with Unnecessary Privileges

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Jul 22, 2026, 6:28 PM
Reserved
May 19, 2026, 10:37 AM
Status
Awaiting Analysis
Published
Jul 21, 2026, 3:16 PM
Modified
Jul 22, 2026, 7:17 PM