CVE-2024-1724: snapd allows $HOME/bin symlink
Vulnerability summary
CVE-2024-1724 is a high (CVSS 8.2) vulnerability in canonical snap. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 25.1% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 25-07-2024PublishedVulnerability first disclosed.
- 01-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA6.3MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.2HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- OSV · GoEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:LDiffers
EPSS trend
Probability
0.31%
Chance of exploitation in the next 30 days
Percentile
25%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.31% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (gld.mcphail.uk)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- snapdAll versions (No fix recorded) | < 2.62-1
Github.com/snapcore1 product
- snapd< 2.62 | All versions (No fix recorded)
Ubuntu1 product
- snapd< 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
4 vendors · 5 products
References
13 links- gld.mcphail.uk/posts/explaining-cve-2024-1724/REPORTExploitTechnical DescriptionThird Party Advisory
- github.com/snapcore/snapdPACKAGE