Root escalation via symlink-following bootstrap file creation
Published Jul 21, 2026 · Updated Jul 21, 2026
Local privilege escalation in Canonical snapd 2.75.0 through 2.76.0 allows local users to execute arbitrary code as root. In set-capabilities builds, snap-confine creates its bootstrap /tmp/snap.rootfs_XXXXXX directory and replicated files under the caller's ownership before changing them to root, while open() follows attacker-planted symlinks. Winning both races lets a local unprivileged user create a writable udev rule in /run/udev/rules.d and have systemd-udevd run a command as root; set-user-ID-root builds are unaffected.
Summary
What happened
Local privilege escalation in Canonical snapd 2.75.0 through 2.76.0 allows local users to execute arbitrary code as root. In set-capabilities builds, snap-confine creates its bootstrap /tmp/snap.rootfs_XXXXXX directory and replicated files under the caller's ownership before changing them to root, while open() follows attacker-planted symlinks. Winning both races lets a local unprivileged user create a writable udev rule in /run/udev/rules.d and have systemd-udevd run a command as root; set-user-ID-root builds are unaffected.
The record
- CVE
- CVE-2026-8933
- Published
- Jul 21, 2026
- Updated
- Jul 21, 2026
- Vendor
- Canonical
- Product
- Ubuntu 22.04 LTS
- Classifications
- CWE-250, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 21, 2026CVE publishedPublication date reported by the CVE source.
- Jul 21, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Affected versions are unavailable in this record. Check the vendor advisory for version and patch details.
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Qualys snap-confine set-capabilities race exploitfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo