Skip to content
Heist/ feed
Back to feed
Critical

Authenticated RCE via unsanitized compression_algorithm

Type: advisorySources: OSV

An improper sanitization of the compression_algorithm parameter in Canonical LXD allows an authenticated, unprivileged user to execute commands as the LXD daemon on the LXD server via API calls to the image and backup endpoints. This issue affected LXD from 4.12 through 6.6 and was fixed in the snap versions 5.0.6-e49d9f4 (channel 5.0/stable), 5.21.4-1374f39 (channel 5.21/stable), and 6.7-1f11451 (channel 6.0 stable). The channel 4.0/stable is not affected as it contains version 4.0.10.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-28384
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:00 UTC · Revision 1

Source evidence

Authenticated RCE via unsanitized compression_algorithm

core-osv · Original source

Published 12 Mar 2026, 14:51 UTC

An improper sanitization of the compression_algorithm parameter in Canonical LXD allows an authenticated, unprivileged user to execute commands as the LXD daemon on the LXD server via API calls to the image and backup endpoints. This issue affected LXD from 4.12 through 6.6 and was fixed in the snap versions 5.0.6-e49d9f4 (channel 5.0/stable), 5.21.4-1374f39 (channel 5.21/stable), and 6.7-1f11451 (channel 6.0 stable). The channel 4.0/stable is not affected as it contains version 4.0.10.

osv:CVE-2026-28384
Complete source record
{
  "id": "44337a189cde78afdebd6beb7a998485e33304f0b5522a371e82d77d29435603",
  "url": "https://osv.dev/vulnerability/CVE-2026-28384",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Authenticated RCE via unsanitized compression_algorithm",
    "summary": "An improper sanitization of the compression_algorithm parameter in Canonical LXD allows an authenticated, unprivileged user to execute commands as the LXD daemon on the LXD server via API calls to the image and backup endpoints. This issue affected LXD from 4.12 through 6.6 and was fixed in the snap versions 5.0.6-e49d9f4 (channel 5.0/stable), 5.21.4-1374f39 (channel 5.21/stable), and 6.7-1f11451 (channel 6.0 stable). The channel 4.0/stable is not affected as it contains version 4.0.10.",
    "evidence": "osv:CVE-2026-28384",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-28384",
      "aliases": [
        "CVE-2026-28384",
        "GHSA-4rmf-rcp8-2r9g"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/canonical/lxd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "538ac3df036e4a8c0197d0f52d125be1b51879d0"
                },
                {
                  "fixed": "c1066285c21011f330214caf4e21ed6f507b5fbf"
                },
                {
                  "introduced": "761d134ceabd306f57acfb0ca51f59b03751a5b0"
                },
                {
                  "fixed": "0494f5d47e41af69a8374568c0cb8b3eefd72a6a"
                },
                {
                  "introduced": "0"
                },
                {
                  "fixed": "736f34afb267a68f1f324979848db20ae30fe9d1"
                },
                {
                  "fixed": "043696a13171ace7dd4c2b32d34ce039ab629052"
                },
                {
                  "fixed": "7046979645c2ce1b63b2f9e60ddf6cbc4c4b78f9"
                },
                {
                  "fixed": "b7b411caf5c4971bfe2386c72128f44d7e2aaf4f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.12"
                      },
                      {
                        "fixed": "5.0.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.21.0"
                      },
                      {
                        "fixed": "5.21.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.0"
                      },
                      {
                        "fixed": "6.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "043696a13171ace7dd4c2b32d34ce039ab629052"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7046979645c2ce1b63b2f9e60ddf6cbc4c4b78f9"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b7b411caf5c4971bfe2386c72128f44d7e2aaf4f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.12",
            "lxd-5.17",
            "lxd-5.16",
            "lxd-5.15",
            "lxd-5.14",
            "lxd-5.13",
            "lxd-5.12",
            "lxd-5.11",
            "lxd-5.0.2",
            "lxd-5.10",
            "lxd-5.9",
            "lxd-5.8",
            "lxd-5.7",
            "lxd-5.6",
            "lxd-5.5",
            "lxd-5.0.1",
            "lxd-5.4",
            "lxd-5.3",
            "lxd-5.2",
            "lxd-5.1",
            "lxd-5.0.0",
            "lxd-4.24",
            "lxd-4.23",
            "lxd-4.22",
            "lxd-4.21",
            "lxd-4.20",
            "lxd-4.19",
            "lxd-4.18",
            "lxd-4.17",
            "lxd-4.16",
            "lxd-4.15",
            "lxd-4.14",
            "lxd-4.13",
            "lxd-4.12"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-28384.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.497320339Z",
      "provider": "osv",
      "references": [
        "https://discourse.ubuntu.com/t/lxd-authenticated-remote-code-execution-fixes-available/78365",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28384.json",
        "https://github.com/canonical/lxd/security/advisories/GHSA-4rmf-rcp8-2r9g",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-28384",
        "https://github.com/canonical/lxd/commit/043696a13171ace7dd4c2b32d34ce039ab629052",
        "https://github.com/canonical/lxd/commit/7046979645c2ce1b63b2f9e60ddf6cbc4c4b78f9",
        "https://github.com/canonical/lxd/commit/b7b411caf5c4971bfe2386c72128f44d7e2aaf4f",
        "https://github.com/canonical/lxd"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "canonical",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28384.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-28384",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521166,
  "published_at": "2026-03-12T14:51:29.991+00:00"
}