{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-140086",
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "state": "PUBLISHED",
        "assignerShortName": "canonical",
        "dateReserved": "2026-11-30T20:03:48.100Z",
        "datePublished": "2026-12-01T21:01:58.163Z",
        "dateUpdated": "2026-12-04T16:58:22.060Z"
    },
    "containers": {
        "cna": {
            "title": "lxd: Improper link resolution before file access in lxc image export",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-59",
                            "description": "CWE-59 Improper Link Resolution Before File Access",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Canonical",
                    "product": "LXD",
                    "platforms": [
                        "Linux"
                    ],
                    "packageName": "lxd",
                    "repo": "https://github.com/canonical/lxd",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "4.0",
                            "lessThan": "4.0.16",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "4.0",
                            "lessThan": "5.0.12",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "4.0",
                            "lessThan": "5.21.10",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "4.0",
                            "lessThan": "6.10.2",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Improper link resolution before file access in the lxc image export command in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows the operator of a malicious public image remote to overwrite files writable by the invoking user, up to executing attacker-chosen commands as that user by replacing a shell startup file, via a one-character remote-supplied image fingerprint that the client accepts with a SHA-256 prefix check and uses as the default export output path, which follows local symlinks planted in the working directory."
                }
            ],
            "references": [
                {
                    "url": "https://github.com/canonical/lxd/security/advisories/GHSA-5jh2-v77p-jr6q",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "ACTIVE",
                        "vulnConfidentialityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "HIGH",
                        "subIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "LOW",
                        "subAvailabilityImpact": "NONE",
                        "exploitMaturity": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "valueDensity": "NOT_DEFINED",
                        "vulnerabilityResponseEffort": "NOT_DEFINED",
                        "providerUrgency": "NOT_DEFINED",
                        "version": "4.0",
                        "baseSeverity": "HIGH",
                        "baseScore": 7.5,
                        "vectorString": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N"
                    }
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Rex Liu",
                    "type": "reporter"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "providerMetadata": {
                "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
                "shortName": "canonical",
                "dateUpdated": "2026-12-01T21:01:58.163Z"
            },
            "x_generator": {
                "engine": "cvelib 1.8.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-04T16:41:16.864774Z",
                                "id": "CVE-2026-140086",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-04T16:58:22.060Z"
                }
            }
        ]
    }
}