CVE-2026-66898
Full vulnerability record from the local CVENow database.
Description
A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and restore operations. When importing or restoring a backup archive, LXD fails to validate instance and storage volume names contained within the archive metadata. An attacker can exploit this flaw by supplying a crafted backup archive with malicious instance or volume names containing path traversal sequences, potentially allowing file access or overwriting outside the designated restore directory.
Severity
CRITICAL
CVSS score
9.9
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-08-12 21:17:39.700000
Last modified
2026-10-24 16:10:00.153000
View original CVE JSON
{
"id": "CVE-2026-66898",
"sourceIdentifier": "[email protected]",
"published": "2026-08-12T21:17:39.700",
"lastModified": "2026-10-24T16:10:00.153",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and restore operations. When importing or restoring a backup archive, LXD fails to validate instance and storage volume names contained within the archive metadata. An attacker can exploit this flaw by supplying a crafted backup archive with malicious instance or volume names containing path traversal sequences, potentially allowing file access or overwriting outside the designated restore directory."
},
{
"lang": "es",
"value": "Una vulnerabilidad de salto de ruta en LXD permite a un atacante manipular rutas del sistema de archivos durante las operaciones de importación y restauración de copias de seguridad. Al importar o restaurar un archivo de copia de seguridad, LXD no valida los nombres de instancias y volúmenes de almacenamiento contenidos dentro de los metadatos del archivo. Un atacante puede explotar esta falla al proporcionar un archivo de copia de seguridad manipulado con nombres de instancias o volúmenes maliciosos que contengan secuencias de salto de ruta, lo que podría permitir el acceso o la sobrescritura de archivos fuera del directorio de restauración designado."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "Canonical",
"product": "LXD",
"defaultStatus": "unaffected",
"packageName": "LXD",
"platforms": [
"Linux"
],
"repo": "https://github.com/canonical/lxd",
"versions": [
{
"version": "4.0.0",
"lessThan": "4.0.12",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.0.0",
"lessThan": "5.0.4",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.21.0",
"lessThan": "5.21.2",
"versionType": "semver",
"status": "affected"
},
{
"version": "6.0",
"lessThan": "6.1",
"versionType": "semver",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"baseScore": 9.9,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.1,
"impactScore": 6.0
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-08-13T13:40:15.405663Z",
"id": "CVE-2026-66898",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-22"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.0.0",
"versionEndExcluding": "4.0.12",
"matchCriteriaId": "89DC62EE-69CD-4ACD-BB83-6A0635AC341C"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.0.0",
"versionEndExcluding": "5.0.4",
"matchCriteriaId": "E48F1136-C506-457C-B541-6290724B2070"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.1",
"versionEndExcluding": "5.21.2",
"matchCriteriaId": "EF3D3966-CFB4-46B6-8BDA-BE54667A9482"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:canonical:lxd:6.0:*:*:*:*:*:*:*",
"matchCriteriaId": "3B60D3D1-7BD2-454A-B0CF-CE30B057DD80"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984",
"source": "[email protected]",
"tags": [
"Vendor Advisory",
"Exploit",
"Mitigation"
]
},
{
"url": "https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Vendor Advisory",
"Exploit",
"Mitigation"
]
}
]
}