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.
Published: 2026-07-21
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Canonical
Canonical ubuntu
Vendors & Products Canonical
Canonical ubuntu

Wed, 22 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 21 Jul 2026 14:45:00 +0000

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'}


Subscriptions

Canonical Ubuntu
cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-07-22T18:28:05.924Z

Reserved: 2026-05-19T10:37:03.649Z

Link: CVE-2026-8933

cve-icon Vulnrichment

Updated: 2026-07-22T18:15:11.839Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-21T15:16:39.563

Modified: 2026-07-22T19:17:14.773

Link: CVE-2026-8933

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T17:30:17Z

Weaknesses
  • CWE-250

    Execution with Unnecessary Privileges