# CVE-2024-5300 — Canonical Ubuntu 26.04 LTS

> As of 2026-07-22, CVE-2024-5300 is a MEDIUM-severity vulnerability in Canonical Ubuntu 26.04 LTS, CVSS v3.1 5.6, EPSS 0.1% (2.4th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2024-5300, most recently “CVE-2026-8933: Race Condition in Ubuntu snap-confine Enables Local Privilege Escalation to Root”.

**Last updated:** 2026-07-22

## What is CVE-2024-5300?

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.

The record classifies CVE-2024-5300 under weakness class [CWE-212](https://cwe.mitre.org/data/definitions/212.html). Its CVSS v3 base vector states that the flaw requires local access to the host, needs low-privilege credentials, needs no user interaction, and has high impact on confidentiality. 6 affected-product entries are recorded, across 1 vendor, listed below. The identifier was first published 121 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 5.6 — MEDIUM (`CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`)
- **EPSS (FIRST):** 0.1% probability of exploitation in the next 30 days, higher than 2.4% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 2.9/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-07-21

## Is CVE-2024-5300 being exploited?

It currently carries a trending score of 15 in the Threadlinqs vulnerability feed.

## Affected products and versions

- [Canonical](https://intel.threadlinqs.com/vendors/canonical): Ubuntu 26.04 LTS, Ubuntu 24.04 LTS, Ubuntu 22.04 LTS, Ubuntu 20.04 LTS, Ubuntu 18.04 LTS, Ubuntu 16.04 LTS

## How to fix CVE-2024-5300

No vendor patch reference has been recorded for CVE-2024-5300 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2024-5300

1 tracked threat in the Threadlinqs corpus references CVE-2024-5300, either in the campaign’s CVE list or as an indicator on the campaign record.

- [CVE-2026-8933: Race Condition in Ubuntu snap-confine Enables Local Privilege Escalation to Root](https://intel.threadlinqs.com/threat/TL-2026-1633) — HIGH · 2026-07-22

## Sources

Enriched from CVE.org, NVD, FIRST EPSS, GitHub Security Advisories. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vulnerability database entry**

- [ubuntu.com — vdb entry](https://ubuntu.com/security/CVE-2024-5300)

Canonical: https://intel.threadlinqs.com/cve/CVE-2024-5300
Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Sign up free (Blue): https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents needs Purple: https://intel.threadlinqs.com/mcp
