{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "4.0.2"
              },
              {
                "fixed": "4.0.14"
              },
              {
                "introduced": "5.0.0"
              },
              {
                "fixed": "5.0.10"
              },
              {
                "introduced": "5.21.0"
              },
              {
                "fixed": "5.21.8"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "2d1c49501c77c54fbdec3154b38736b6ba114501"
            },
            {
              "fixed": "b6e6806eef1ffb9be88d80af840f82d762ba1e38"
            },
            {
              "introduced": "1e1349e3cbf30c1b2ce74e531d4dd0fd52c45be1"
            },
            {
              "fixed": "6dbdad8c58bbabc680340c61d238255cccece068"
            },
            {
              "introduced": "761d134ceabd306f57acfb0ca51f59b03751a5b0"
            },
            {
              "fixed": "a60b9e26b2e4b8a3353e29d8be45eb623ad16ead"
            }
          ],
          "repo": "https://github.com/canonical/lxd",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g4cm-f533-78hq"
  ],
  "database_specific": {
    "cna_assigner": "canonical",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86334.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "6.0"
          },
          {
            "fixed": "6.10"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Path traversal in the CLI client image export and copy functionality in Canonical LXD from 4.0.2 before 4.0.14, 5.0.10, 5.21.8, and 6.10 on all platforms allows a remote malicious or machine-in-the-middle image server to overwrite arbitrary local files and execute code on the client system via a crafted Content-Disposition header filename parameter during unified image export or copy operations into a local directory target.",
  "id": "CVE-2026-86334",
  "modified": "2026-09-30T03:30:46.241212753Z",
  "published": "2026-09-28T13:21:15.612Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86334.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-86334"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/canonical/lxd/security/advisories/GHSA-g4cm-f533-78hq"
    },
    {
      "type": "FIX",
      "url": "https://github.com/canonical/lxd/pull/18940"
    },
    {
      "type": "FIX",
      "url": "https://github.com/canonical/lxd/pull/18974"
    },
    {
      "type": "FIX",
      "url": "https://github.com/canonical/lxd/pull/18975"
    },
    {
      "type": "FIX",
      "url": "https://github.com/canonical/lxd/pull/18976"
    },
    {
      "type": "FIX",
      "url": "https://github.com/canonical/lxd/pull/18977"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/canonical/lxd"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "CLI Path Traversal via Content-Disposition in LXD Image Export/Copy"
}