Exploit database

Vulnerability

CVE-2026-8933

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

Vulnerability details

Score
7.8
Severity
high

CVSS 3.1 · canonical

Vector string

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

2 sources
d4ytox/cve-2026-8933
GH-1a2f6c3e7ed0984c26f950c8acf06195GitHubUnofficial GitHub sourcePreferred

Local root in snapd's snap-confine (2.75.0-2.76.0; fixed 2.76.1) on builds with file capabilities instead of setuid: the base-rootfs replication loop holds CAP_CHOWN and opens each file without O_NOFOLLOW, so a planted symlink becomes a root-owned udev rule whose PROGRAM= line runs as root. One-command arm64 QEMU lab on Ubuntu 25.10.

2026-11-2912 files · 1 stars
songzzzz/cve-2026-8933
GH-65162636dc117711ab20e64d8e0a4e7bGitHubUnofficial GitHub source

songzzzz/cve-2026-8933 source repository

2026-10-1723 files · 1 stars