{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28384 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-28384 is a critical command injection vulnerability in Canonical lxd, published on 12 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-28384 and fix it if it is affected.\n\nWhat it is: CVE-2026-28384 is a critical command injection vulnerability in Canonical lxd, published on 12 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28384 exists.\n\nAffected product: Canonical lxd. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-28384/ (Markdown: https://insights.sbomify.com/CVE-2026-28384/index.md)","id":"CVE-2026-28384","markdown":"https://insights.sbomify.com/CVE-2026-28384/index.md","name":"CVE-2026-28384","record":{"aliases":["DEBIAN-CVE-2026-28384","GHSA-4rmf-rcp8-2r9g"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"LXD container manager","requires_auth":"low_privilege","summary":"Authenticated users can execute arbitrary commands as the LXD daemon via unsanitized compression algorithm parameters in image and backup API calls.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"lxd","vendor":"canonical"}],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Authenticated RCE via unsanitized compression_algorithm","id":"CVE-2026-28384","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":5,"next":{"headline":"SSRF via image import from URL allows internal network probing by authenticated users","id":"CVE-2026-28385"},"packages":[],"prev":{"headline":"Grafana plugin resources can lead to unbounded memory allocation","id":"CVE-2026-28383"},"products":["lxd"],"published":"2026-03-12","related":[{"cvss_score":9.9,"headline":"Instance template path traversal allows arbitrary host file write as root","id":"CVE-2026-66897","kev_date_added":null,"published":"2026-08-24"},{"cvss_score":9.9,"headline":"Cross-project cluster migration bypasses project restrictions via cluster notification flag","id":"CVE-2026-62420","kev_date_added":null,"published":"2026-08-12"},{"cvss_score":9.9,"headline":"Arbitrary File Read/Write: metadata.yaml symlink in image allows host filesystem access as root","id":"CVE-2026-63293","kev_date_added":null,"published":"2026-08-12"},{"cvss_score":9.9,"headline":"Root RCE via image backup.yaml symlink","id":"CVE-2026-63294","kev_date_added":null,"published":"2026-08-12"},{"cvss_score":9.9,"headline":"Project restriction bypass via instance migration config override","id":"CVE-2026-63296","kev_date_added":null,"published":"2026-08-12"},{"cvss_score":9.9,"headline":"Cross-project instance copy bypasses target project restrictions via TOCTOU in config merge","id":"CVE-2026-63297","kev_date_added":null,"published":"2026-08-12"},{"cvss_score":9.9,"headline":"Cross-project instance move bypasses all project restrictions allowing host command execution","id":"CVE-2026-63300","kev_date_added":null,"published":"2026-08-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-13","vendors":["Canonical"]},"summary":"Authenticated users can execute arbitrary commands as the LXD daemon via unsanitized compression algorithm parameters in image and backup API calls.","url":"https://insights.sbomify.com/CVE-2026-28384/"}