CVE-2024-1724: In snapd versions prior to 2.62, when using AppArmor for enforcement of sandbox permissions, snapd
Affects snapdSource GCVE Database
Not known to be exploited · CVSS 8.2 High · fixed in 2.61.4ubuntu0.16.04.1+esm1 : patch snapd soon.
Data as of 24 Nov 2026, 19:24 UTC
- Patch
- Available – fixed in 2.61.4ubuntu0.16.04.1+esm1, 2.61.4ubuntu0.18.04.1+esm1, 2.63+20.04ubuntu0.1 +2
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Jul 2024
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 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSsnapdpkg:deb/ubuntu/snapd?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSsnapdpkg:deb/ubuntu/snapd?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSsnapdpkg:deb/ubuntu/snapd?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSsnapdpkg:deb/ubuntu/snapd?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSsnapdpkg:deb/ubuntu/snapd?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
In snapd versions prior to 2.62, when using AppArmor for enforcement of sandbox permissions, snapd failed to restrict writes to the $HOME/bin path. In Ubuntu, when this path exists, it is automatically added to the users PATH. An attacker who could convince a user to install a malicious snap which used the 'home' plug could use this vulnerability to install arbitrary scripts into the users PATH which may then be run by the user outside of the expected snap sandbox and hence allow them to escape confinement.
References
- ubuntu.com/security/CVE-2024-1724 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-1724 (opens in a new tab)
- github.com/snapcore/snapd/pull/13689 (opens in a new tab)
- gld.mcphail.uk/posts/explaining-cve-2024-1724/ (opens in a new tab)
- ubuntu.com/security/notices/USN-6940-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6940-2 (opens in a new tab)