CVE-2026-16033
Full vulnerability record from the local CVENow database.
Description
A path traversal vulnerability in LXD allows an attacker to achieve arbitrary host file read or unconstrained file creation. When processing image metadata templates, LXD fails to properly sanitize or restrict template file paths from escaping the instance templates directory (specifically affecting virtual machine / QEMU driver execution paths). An attacker can exploit this flaw by providing a crafted image archive with malicious template directives containing path traversal sequences, causing LXD to access or write files outside the intended template directory on the host system.
Severity
HIGH
CVSS score
8.5
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-08-12 21:17:35.880000
Last modified
2026-10-23 19:10:00.167000
View original CVE JSON
{
"id": "CVE-2026-16033",
"sourceIdentifier": "[email protected]",
"published": "2026-08-12T21:17:35.880",
"lastModified": "2026-10-23T19:10:00.167",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "A path traversal vulnerability in LXD allows an attacker to achieve arbitrary host file read or unconstrained file creation. When processing image metadata templates, LXD fails to properly sanitize or restrict template file paths from escaping the instance templates directory (specifically affecting virtual machine / QEMU driver execution paths). An attacker can exploit this flaw by providing a crafted image archive with malicious template directives containing path traversal sequences, causing LXD to access or write files outside the intended template directory on the host system."
},
{
"lang": "es",
"value": "Una vulnerabilidad de salto de ruta en LXD permite a un atacante lograr la lectura arbitraria de archivos del host o la creación de archivos sin restricciones. Al procesar plantillas de metadatos de imagen, LXD no logra sanear o restringir adecuadamente las rutas de archivo de plantilla para que no escapen del directorio de plantillas de instancia (afectyo específicamente las rutas de ejecución del controlador de máquina virtual / QEMU). Un atacante puede explotar esta falla al proporcionar un archivo de imagen manipulado con directivas de plantilla maliciosas que contienen secuencias de salto de ruta, lo que hace que LXD acceda o escriba archivos fuera del directorio de plantillas previsto en el sistema host."
}
],
"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.8",
"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:L/A:N",
"baseScore": 8.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 3.1,
"impactScore": 4.7
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-08-13T12:45:51.004847Z",
"id": "CVE-2026-16033",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"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.7",
"matchCriteriaId": "C358ED3B-0384-494A-A494-18A37947E057"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/canonical/lxd/security/advisories/GHSA-9hcm-hxh5-7xxh",
"source": "[email protected]",
"tags": [
"Vendor Advisory",
"Exploit"
]
},
{
"url": "https://github.com/canonical/lxd/security/advisories/GHSA-9hcm-hxh5-7xxh",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Vendor Advisory",
"Exploit"
]
}
]
}