CVE-2026-15226

Description

A flaw was found in Canonical snapd. An attacker with low privileges, operating within a snap application's confined environment, can exploit a vulnerability in the snap-confine component. This allows the attacker to create or modify files with set-user-ID (setuid) attributes, enabling them to bypass the intended sandbox restrictions and execute privileged actions within the container. This could lead to a complete compromise of the container's security.

Statement

Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references.

Mitigation

To mitigate this issue, consider disabling or removing the `snapd` service if it is not required on the system. This prevents the execution of snap applications and eliminates the attack surface.

To disable the `snapd` service:

bash
sudo systemctl stop snapd.service
sudo systemctl disable snapd.service
sudo systemctl mask snapd.service

To remove the `snapd` package:

bash
sudo dnf remove snapd

Note that disabling or removing `snapd` will prevent all snap applications from functioning. A system restart may be required for changes to take full effect.

Understanding the Weakness (CWE)

Access Control

Technical Impact: Gain Privileges or Assume Identity

A user can access restricted functionality and/or sensitive information that may include administrative functionality and user accounts.

Frequently Asked Questions

Want to get errata notifications? Sign up here.