snapd will follow archived symlinks when unpacking a filesystem
In snapd versions prior to 2.62, snapd failed to properly check the destination of symbolic links when extracting a snap. The snap format is a squashfs file-system image and so can contain symbolic links and other file types. Various file entries within the snap squashfs image (such as icons and desktop files etc) are directly read by snapd when it is extracted. An attacker who could convince a user to install a malicious snap which contained symbolic links at these paths could then cause snapd to write out the contents of the symbolic link destination into a world-readable directory. This in-turn could allow an unprivileged user to gain access to privileged information.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-29069
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:22 UTC · Revision 1
Source evidence
snapd will follow archived symlinks when unpacking a filesystem
core-osv · Original sourcePublished 25 Jul 2024, 19:39 UTC
In snapd versions prior to 2.62, snapd failed to properly check the destination of symbolic links when extracting a snap. The snap format is a squashfs file-system image and so can contain symbolic links and other file types. Various file entries within the snap squashfs image (such as icons and desktop files etc) are directly read by snapd when it is extracted. An attacker who could convince a user to install a malicious snap which contained symbolic links at these paths could then cause snapd to write out the contents of the symbolic link destination into a world-readable directory. This in-turn could allow an unprivileged user to gain access to privileged information.
osv:CVE-2024-29069
Complete source record
{
"id": "d2e423631a27a613f25f1ae0f24274426e0da95a807e22a032e216b66fed8a70",
"url": "https://osv.dev/vulnerability/CVE-2024-29069",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "snapd will follow archived symlinks when unpacking a filesystem",
"summary": "In snapd versions prior to 2.62, snapd failed to properly check the destination of symbolic links when extracting a snap. The snap format is a squashfs file-system image and so can contain symbolic links and other file types. Various file entries within the snap squashfs image (such as icons and desktop files etc) are directly read by snapd when it is extracted. An attacker who could convince a user to install a malicious snap which contained symbolic links at these paths could then cause snapd to write out the contents of the symbolic link destination into a world-readable directory. This in-turn could allow an unprivileged user to gain access to privileged information.",
"evidence": "osv:CVE-2024-29069",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-29069",
"aliases": [
"CVE-2024-29069",
"GHSA-69p6-gp5x-j269",
"GO-2024-3009"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/canonical/snapd",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b749eda44d9f849855587dbd392571adac32e928"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.62"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.62"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"untagged-ec50ee5bfb45daefc236",
"2.15.2",
"2.15",
"2.14.2.16.04",
"2.14.1",
"2.14",
"2.13",
"2.12",
"2.11",
"2.0.10",
"2.0.9",
"2.0.8",
"2.0.7",
"2.0.6",
"2.0.5",
"2.0.4",
"2.0.3",
"2.0",
"1.9.4",
"1.9.3",
"1.9.2",
"1.9.1",
"1.9",
"ppa",
"1.7.3+20160310ubuntu1",
"1.7.3+20160308ubuntu1",
"1.7.3+20160303ubuntu4",
"1.7.3+20160303ubuntu3",
"1.7.3+20160303ubuntu2",
"1.7.3+20160303ubuntu1",
"1.7.3+20160225ubuntu1",
"1.7.2+20160223ubuntu1",
"1.7.2+20160204ubuntu1",
"1.7.2+20160113ubuntu1",
"1.7.2ubuntu1",
"1.7ubuntu1",
"1.6ubuntu1",
"1.5ubuntu1",
"1.4ubuntu1",
"1.3ubuntu1",
"1.2-0ubuntu1",
"1.1.2-0ubuntu1",
"1.1.1-0ubuntu1",
"1.1-0ubuntu1",
"1.0.1-0ubuntu1",
"1.0-0ubuntu1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-29069.json"
}
}
],
"modified": "2026-10-28T02:30:27.266341441Z",
"provider": "osv",
"references": [
"https://github.com/snapcore/snapd/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/29xxx/CVE-2024-29069.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-29069",
"https://github.com/snapcore/snapd/pull/13682"
],
"provider_metadata": {
"cwe_ids": [
"CWE-610"
],
"cna_assigner": "canonical",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/29xxx/CVE-2024-29069.json"
}
},
"related_cves": [
{
"value": "CVE-2024-29069",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493781,
"published_at": "2024-07-25T19:39:41.05+00:00"
}