5.6

CVE-2024-5300: snapd

CVSS: 5.6v3.1MediumAwaiting analysis
AliasesRHSA-2026:29009UBUNTU-CVE-2024-5300DEBIAN-CVE-2024-5300
Published 21-07-2026Last modified 22-07-2026

Vulnerability summary

CVE-2024-5300 is a medium (CVSS 5.6) vulnerability in snapd. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.4% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.6/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.13%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 21-07-2026
    PublishedVulnerability first disclosed.
  2. 22-07-2026
    Last modifiedVulnerability information updated.

Description

An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile configuration of Canonical snapd. The abstraction rules located in /etc/apparmor.d/abstractions/nss-systemd (inherited via ) inadvertently permit strictly confined snap applications, which lack the privileged account-control interface, to interact directly with the io.systemd.Multiplexer and io.systemd.NameServiceSwitch UNIX domain sockets under /run/systemd/userdb/. On systems where the systemd-userdbd service is installed and operational, the service fails to distinguish between an unconfined root user on the host system and a restricted root user running within a snap application's sandbox (such as a daemon or configuration hook). Because systemd-userdbd returns "complete" user records—including sensitive hashed user passwords from /etc/shadow—when queried by a process running as root, a compromised or malicious strictly confined snap executing code as root can successfully query the Varlink interface to retrieve all system password hashes, bypassing intended snap sandbox restrictions. This issue is mitigated by the fact that systemd-userdbd is not installed by default on standard Ubuntu deployments.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.13%

Chance of exploitation in the next 30 days

Percentile

2%

Versus all other CVEs

30-day change

+0.03 pp

From 0.10% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.13%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat21 products
  • systemd< 0:261-2.hum1
  • systemd-boot-unsigned< 0:261-2.hum1
  • systemd-container< 0:261-2.hum1
  • systemd-devel< 0:261-2.hum1
  • systemd-journal-remote< 0:261-2.hum1
Debian1 product
  • snapdAll versions (No fix recorded) | < 2.76.3-1
Ubuntu1 product
  • snapd< 2.61.4ubuntu0.16.04.1+esm4 | < 2.61.4ubuntu0.18.04.1+esm4 | < 2.67.1+20.04ubuntu1~esm3 | < 2.76+ubuntu22.04.1 | < 2.76+ubuntu24.04.1 | All versions (No fix recorded) | < 2.76+ubuntu26.04.3

3 vendors · 23 products

References

11 links
Show all 11 references