# CVE-2024-5300: golang-github-snapcore-snapd-dev: An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile config...

CVE-2024-5300 is fixed in 9 products on 1 platform, first by golang-github-snapcore-snapd-dev 2.76+ubuntu26.04.3, released July 21, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-5300
- Priority: Routine
- CVSS: 5.6 (Medium)
- EPSS: 0.0013
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 21, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | golang-github-snapcore-snapd-dev Ubuntu 18.04.6 LTS (bionic) | 2.61.4ubuntu0.18.04.1+esm4 | [golang-github-snapcore-snapd-dev 2.61.4ubuntu0.18.04.1+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-golang-github-snapcore-snapd-dev-2.61.4ubuntu0.18.04.1-esm4.md) | Jul 23, 2026 |
| Linux | golang-github-snapcore-snapd-dev Ubuntu 20.04 LTS (focal) | 2.67.1+20.04ubuntu1~esm3 | [golang-github-snapcore-snapd-dev 2.67.1+20.04ubuntu1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-golang-github-snapcore-snapd-dev-2.67.1-20.04ubuntu1-esm3.md) | Jul 23, 2026 |
| Linux | golang-github-snapcore-snapd-dev Ubuntu 22.04.1 LTS (jammy) | 2.76+ubuntu22.04.1 | [golang-github-snapcore-snapd-dev 2.76+ubuntu22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-golang-github-snapcore-snapd-dev-2.76-ubuntu22.04.1.md) | Jul 23, 2026 |
| Linux | golang-github-snapcore-snapd-dev Ubuntu 24.04.5 LTS (noble) | 2.76+ubuntu24.04.1 | [golang-github-snapcore-snapd-dev 2.76+ubuntu24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-golang-github-snapcore-snapd-dev-2.76-ubuntu24.04.1.md) | Jul 23, 2026 |
| Linux | golang-github-snapcore-snapd-dev Ubuntu 26.04.1 LTS (resolute) | 2.76+ubuntu26.04.3 | [golang-github-snapcore-snapd-dev 2.76+ubuntu26.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-golang-github-snapcore-snapd-dev-2.76-ubuntu26.04.3.md) | Jul 21, 2026 |
| Linux | golang-github-ubuntu-core-snappy-dev Ubuntu 18.04.6 LTS (bionic) | 2.61.4ubuntu0.18.04.1+esm4 | [golang-github-ubuntu-core-snappy-dev 2.61.4ubuntu0.18.04.1+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-golang-github-ubuntu-core-snappy-dev-2.61.4ubuntu0.18.04.1-esm4.md) | Jul 23, 2026 |
| Linux | golang-github-ubuntu-core-snappy-dev Ubuntu 20.04 LTS (focal) | 2.67.1+20.04ubuntu1~esm3 | [golang-github-ubuntu-core-snappy-dev 2.67.1+20.04ubuntu1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-golang-github-ubuntu-core-snappy-dev-2.67.1-20.04ubuntu1-esm3.md) | Jul 23, 2026 |
| Linux | golang-github-ubuntu-core-snappy-dev Ubuntu 22.04.1 LTS (jammy) | 2.76+ubuntu22.04.1 | [golang-github-ubuntu-core-snappy-dev 2.76+ubuntu22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-golang-github-ubuntu-core-snappy-dev-2.76-ubuntu22.04.1.md) | Jul 23, 2026 |
| Linux | golang-github-ubuntu-core-snappy-dev Ubuntu 24.04.5 LTS (noble) | 2.76+ubuntu24.04.1 | [golang-github-ubuntu-core-snappy-dev 2.76+ubuntu24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-golang-github-ubuntu-core-snappy-dev-2.76-ubuntu24.04.1.md) | Jul 23, 2026 |
| Linux | snap-confine Ubuntu 18.04.6 LTS (bionic) | 2.61.4ubuntu0.18.04.1+esm4 | [snap-confine 2.61.4ubuntu0.18.04.1+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-snap-confine-2.61.4ubuntu0.18.04.1-esm4.md) | Jul 23, 2026 |
| Linux | snap-confine Ubuntu 20.04 LTS (focal) | 2.67.1+20.04ubuntu1~esm3 | [snap-confine 2.67.1+20.04ubuntu1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-snap-confine-2.67.1-20.04ubuntu1-esm3.md) | Jul 23, 2026 |
| Linux | snap-confine Ubuntu 22.04.1 LTS (jammy) | 2.76+ubuntu22.04.1 | [snap-confine 2.76+ubuntu22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-snap-confine-2.76-ubuntu22.04.1.md) | Jul 23, 2026 |
| Linux | snap-confine Ubuntu 24.04.5 LTS (noble) | 2.76+ubuntu24.04.1 | [snap-confine 2.76+ubuntu24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-snap-confine-2.76-ubuntu24.04.1.md) | Jul 23, 2026 |
| Linux | snapd Debian 14 | 2.76.3-1 | [DEBIAN-CVE-2024-5300](https://patchblox.com/security/data/fix/linux/debian-cve-2024-5300.md) | Jul 21, 2026 |
| Linux | snapd Ubuntu 18.04.6 LTS (bionic) | 2.61.4ubuntu0.18.04.1+esm4 | [snapd 2.61.4ubuntu0.18.04.1+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-snapd-2.61.4ubuntu0.18.04.1-esm4.md) | Jul 23, 2026 |
| Linux | snapd Ubuntu 20.04 LTS (focal) | 2.67.1+20.04ubuntu1~esm3 | [snapd 2.67.1+20.04ubuntu1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-snapd-2.67.1-20.04ubuntu1-esm3.md) | Jul 23, 2026 |
| Linux | snapd Ubuntu 22.04.1 LTS (jammy) | 2.76+ubuntu22.04.1 | [snapd 2.76+ubuntu22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-snapd-2.76-ubuntu22.04.1.md) | Jul 23, 2026 |
| Linux | snapd Ubuntu 24.04.5 LTS (noble) | 2.76+ubuntu24.04.1 | [snapd 2.76+ubuntu24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-snapd-2.76-ubuntu24.04.1.md) | Jul 23, 2026 |
| Linux | snapd Ubuntu 26.04.1 LTS (resolute) | 2.76+ubuntu26.04.3 | [snapd 2.76+ubuntu26.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-snapd-2.76-ubuntu26.04.3.md) | Jul 21, 2026 |
| Linux | snapd-xdg-open Ubuntu 18.04.6 LTS (bionic) | 2.61.4ubuntu0.18.04.1+esm4 | [snapd-xdg-open 2.61.4ubuntu0.18.04.1+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-snapd-xdg-open-2.61.4ubuntu0.18.04.1-esm4.md) | Jul 23, 2026 |
| Linux | snapd-xdg-open Ubuntu 20.04 LTS (focal) | 2.67.1+20.04ubuntu1~esm3 | [snapd-xdg-open 2.67.1+20.04ubuntu1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-snapd-xdg-open-2.67.1-20.04ubuntu1-esm3.md) | Jul 23, 2026 |
| Linux | snapd-xdg-open Ubuntu 22.04.1 LTS (jammy) | 2.76+ubuntu22.04.1 | [snapd-xdg-open 2.76+ubuntu22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-snapd-xdg-open-2.76-ubuntu22.04.1.md) | Jul 23, 2026 |
| Linux | snapd-xdg-open Ubuntu 24.04.5 LTS (noble) | 2.76+ubuntu24.04.1 | [snapd-xdg-open 2.76+ubuntu24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-snapd-xdg-open-2.76-ubuntu24.04.1.md) | Jul 23, 2026 |
| Linux | ubuntu-core-launcher Ubuntu 18.04.6 LTS (bionic) | 2.61.4ubuntu0.18.04.1+esm4 | [ubuntu-core-launcher 2.61.4ubuntu0.18.04.1+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ubuntu-core-launcher-2.61.4ubuntu0.18.04.1-esm4.md) | Jul 23, 2026 |
| Linux | ubuntu-core-launcher Ubuntu 20.04 LTS (focal) | 2.67.1+20.04ubuntu1~esm3 | [ubuntu-core-launcher 2.67.1+20.04ubuntu1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ubuntu-core-launcher-2.67.1-20.04ubuntu1-esm3.md) | Jul 23, 2026 |
| Linux | ubuntu-core-launcher Ubuntu 22.04.1 LTS (jammy) | 2.76+ubuntu22.04.1 | [ubuntu-core-launcher 2.76+ubuntu22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ubuntu-core-launcher-2.76-ubuntu22.04.1.md) | Jul 23, 2026 |
| Linux | ubuntu-core-launcher Ubuntu 24.04.5 LTS (noble) | 2.76+ubuntu24.04.1 | [ubuntu-core-launcher 2.76+ubuntu24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ubuntu-core-launcher-2.76-ubuntu24.04.1.md) | Jul 23, 2026 |
| Linux | ubuntu-core-snapd-units Ubuntu 18.04.6 LTS (bionic) | 2.61.4ubuntu0.18.04.1+esm4 | [ubuntu-core-snapd-units 2.61.4ubuntu0.18.04.1+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ubuntu-core-snapd-units-2.61.4ubuntu0.18.04.1-esm4.md) | Jul 23, 2026 |
| Linux | ubuntu-core-snapd-units Ubuntu 20.04 LTS (focal) | 2.67.1+20.04ubuntu1~esm3 | [ubuntu-core-snapd-units 2.67.1+20.04ubuntu1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ubuntu-core-snapd-units-2.67.1-20.04ubuntu1-esm3.md) | Jul 23, 2026 |
| Linux | ubuntu-core-snapd-units Ubuntu 22.04.1 LTS (jammy) | 2.76+ubuntu22.04.1 | [ubuntu-core-snapd-units 2.76+ubuntu22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ubuntu-core-snapd-units-2.76-ubuntu22.04.1.md) | Jul 23, 2026 |
| Linux | ubuntu-core-snapd-units Ubuntu 24.04.5 LTS (noble) | 2.76+ubuntu24.04.1 | [ubuntu-core-snapd-units 2.76+ubuntu24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ubuntu-core-snapd-units-2.76-ubuntu24.04.1.md) | Jul 23, 2026 |
| Linux | ubuntu-snappy Ubuntu 18.04.6 LTS (bionic) | 2.61.4ubuntu0.18.04.1+esm4 | [ubuntu-snappy 2.61.4ubuntu0.18.04.1+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ubuntu-snappy-2.61.4ubuntu0.18.04.1-esm4.md) | Jul 23, 2026 |
| Linux | ubuntu-snappy Ubuntu 20.04 LTS (focal) | 2.67.1+20.04ubuntu1~esm3 | [ubuntu-snappy 2.67.1+20.04ubuntu1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ubuntu-snappy-2.67.1-20.04ubuntu1-esm3.md) | Jul 23, 2026 |
| Linux | ubuntu-snappy Ubuntu 22.04.1 LTS (jammy) | 2.76+ubuntu22.04.1 | [ubuntu-snappy 2.76+ubuntu22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ubuntu-snappy-2.76-ubuntu22.04.1.md) | Jul 23, 2026 |
| Linux | ubuntu-snappy Ubuntu 24.04.5 LTS (noble) | 2.76+ubuntu24.04.1 | [ubuntu-snappy 2.76+ubuntu24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ubuntu-snappy-2.76-ubuntu24.04.1.md) | Jul 23, 2026 |
| Linux | ubuntu-snappy-cli Ubuntu 18.04.6 LTS (bionic) | 2.61.4ubuntu0.18.04.1+esm4 | [ubuntu-snappy-cli 2.61.4ubuntu0.18.04.1+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ubuntu-snappy-cli-2.61.4ubuntu0.18.04.1-esm4.md) | Jul 23, 2026 |
| Linux | ubuntu-snappy-cli Ubuntu 20.04 LTS (focal) | 2.67.1+20.04ubuntu1~esm3 | [ubuntu-snappy-cli 2.67.1+20.04ubuntu1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ubuntu-snappy-cli-2.67.1-20.04ubuntu1-esm3.md) | Jul 23, 2026 |
| Linux | ubuntu-snappy-cli Ubuntu 22.04.1 LTS (jammy) | 2.76+ubuntu22.04.1 | [ubuntu-snappy-cli 2.76+ubuntu22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ubuntu-snappy-cli-2.76-ubuntu22.04.1.md) | Jul 23, 2026 |
| Linux | ubuntu-snappy-cli Ubuntu 24.04.5 LTS (noble) | 2.76+ubuntu24.04.1 | [ubuntu-snappy-cli 2.76+ubuntu24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ubuntu-snappy-cli-2.76-ubuntu24.04.1.md) | Jul 23, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
