CVE-2024-5300: An access control bypass and information disclosure vulnerability exists in the base AppArmor security
Source GCVE Database
Not known to be exploited · CVSS 5.6 Medium : upgrade Ubuntu 26.04 LTS snapd to 2.76.1 when convenient.
Data as of 2 Dec 2026, 18:36 UTC
- EPSS
- 0.09% chance of exploitation in 30 days – higher than 0% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.76.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade snapd to 2.76.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| snapd | Affected
| Fixed in
|
GitHubsnapdpkg:github/snapdOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Mitigation relies on the fact that systemd-userdbd is not installed by default on standard Ubuntu systems. Users should verify whether systemd-userdbd is installed and consider removing or disabling it if not required. Additionally, restricting or auditing snap applications running with root privileges can reduce risk.
Description
CVE-2024-5300 is an access control bypass and information disclosure vulnerability in the base AppArmor security profile configuration of Canonical snapd. It allows strictly confined snap applications running as root to bypass sandbox restrictions and query systemd-userdbd to retrieve sensitive hashed user passwords from /etc/shadow. This occurs because systemd-userdbd does not distinguish between an unconfined root user and a restricted root user within a snap sandbox. The vulnerability is mitigated by the fact that systemd-userdbd is not installed by default on standard Ubuntu systems.