# CVE-2024-1724: snapd allows $HOME/bin symlink

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-07-25 · Modified: 2024-08-01
- Aliases: UBUNTU-CVE-2024-1724, DEBIAN-CVE-2024-1724, GHSA-4mh8-9689-38vr, GO-2024-3007
- Record: https://cvemate.com/vulnerability/CVE-2024-1724 · JSON: https://cvemate.com/vulnerability/CVE-2024-1724/json

## Description

```text
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.
```

## Signals

- CVSS: 8.2 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.306%, percentile 25.123%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- canonical snap: \< 2.62
- canonical snapd: \< 2.62
- debian snapd (Debian): All versions (No fix recorded) \| \< 2.62-1
- ubuntu snapd (Ubuntu): \< 2.61.4ubuntu0.16.04.1+esm1 \| \< 2.61.4ubuntu0.18.04.1+esm1 \| \< 2.63+20.04ubuntu0.1 \| \< 2.63+22.04ubuntu0.1 \| \< 2.63+24.04ubuntu0.1
- github.com/snapcore snapd (Go): \< 2.62 \| All versions (No fix recorded)

## References

- <https://github.com/snapcore/snapd/commit/aa191f97713de8dc3ce3ac818539f0b976eb8ef6>
- <https://gld.mcphail.uk/posts/explaining-cve-2024-1724/>
- <https://github.com/snapcore/snapd/pull/13689>
- <https://ubuntu.com/security/CVE-2024-1724>
- <https://www.cve.org/CVERecord?id=CVE-2024-1724>
- <https://ubuntu.com/security/notices/USN-6940-1>
- <https://ubuntu.com/security/notices/USN-6940-2>
- <https://security-tracker.debian.org/tracker/CVE-2024-1724>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-1724>
- <https://github.com/snapcore/snapd>
- <https://gld.mcphail.uk/posts/explaining-cve-2024-1724>
- <https://pkg.go.dev/vuln/GO-2024-3007>
- <https://github.com/advisories/GHSA-4mh8-9689-38vr>

---

Data as of 2026-12-05T02:36:52.447Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
