CVE-2026-28384: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in Canonical lxd
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.
AI Analysis
Technical Summary
CVE-2026-28384 is an OS command injection vulnerability classified under CWE-78, discovered in Canonical's LXD container management software. The root cause is improper neutralization of special characters in the compression_algorithm parameter when processing API requests to image and backup endpoints. This flaw allows an authenticated user with limited privileges to inject and execute arbitrary OS commands as the LXD daemon user on the server. Since the LXD daemon typically runs with elevated privileges to manage containers, exploitation can lead to significant system compromise, including unauthorized access, data manipulation, and control over containerized environments. The vulnerability affects LXD versions from 4.12 up to 6.6, excluding 4.0.10. Exploitation requires authentication but no additional user interaction, and the attack vector is network-based via API calls. The vulnerability was publicly disclosed on March 12, 2026, with a CVSS 4.0 base score of 9.4, reflecting its critical impact and ease of exploitation. Canonical has released patches in snap package channels 5.0/stable (version 5.0.6-e49d9f4), 5.21/stable (5.21.4-1374f39), and 6.0/stable (6.7-1f11451). No active exploitation has been reported to date, but the severity and nature of the flaw warrant immediate remediation.
Potential Impact
The impact of CVE-2026-28384 is severe for organizations utilizing Canonical LXD for container management. Exploitation enables an authenticated but unprivileged user to execute arbitrary commands with the privileges of the LXD daemon, which often has elevated rights on the host system. This can lead to full system compromise, including unauthorized access to sensitive data, disruption of containerized services, and lateral movement within the network. The vulnerability undermines the confidentiality, integrity, and availability of affected systems. Given the widespread adoption of LXD in cloud, enterprise, and development environments, the potential for significant operational disruption and data breaches is high. Attackers could leverage this flaw to deploy malware, exfiltrate data, or disrupt critical infrastructure. The lack of required user interaction and network-based attack vector increase the risk of rapid exploitation once the vulnerability is known.
Mitigation Recommendations
To mitigate CVE-2026-28384, organizations should immediately upgrade affected LXD installations to the patched versions provided by Canonical in the snap channels 5.0/stable (5.0.6-e49d9f4), 5.21/stable (5.21.4-1374f39), or 6.0/stable (6.7-1f11451). If upgrading is not immediately feasible, restrict access to the LXD API endpoints to trusted and authenticated users only, employing network segmentation and firewall rules to limit exposure. Implement strict authentication and authorization controls to minimize the number of users with access to LXD APIs. Monitor logs for unusual API activity, especially calls involving image and backup endpoints with suspicious compression_algorithm parameters. Employ runtime application self-protection (RASP) or host-based intrusion detection systems (HIDS) to detect anomalous command execution patterns. Regularly audit container management environments for compliance with security best practices and ensure that principle of least privilege is enforced for all users and services interacting with LXD. Finally, maintain an incident response plan to quickly address any suspected exploitation.
Affected Countries
United States, Germany, United Kingdom, France, Japan, Canada, Netherlands, Australia, India, South Korea
CVE-2026-28384: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in Canonical lxd
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.
AI-Powered Analysis
Technical Analysis
CVE-2026-28384 is an OS command injection vulnerability classified under CWE-78, discovered in Canonical's LXD container management software. The root cause is improper neutralization of special characters in the compression_algorithm parameter when processing API requests to image and backup endpoints. This flaw allows an authenticated user with limited privileges to inject and execute arbitrary OS commands as the LXD daemon user on the server. Since the LXD daemon typically runs with elevated privileges to manage containers, exploitation can lead to significant system compromise, including unauthorized access, data manipulation, and control over containerized environments. The vulnerability affects LXD versions from 4.12 up to 6.6, excluding 4.0.10. Exploitation requires authentication but no additional user interaction, and the attack vector is network-based via API calls. The vulnerability was publicly disclosed on March 12, 2026, with a CVSS 4.0 base score of 9.4, reflecting its critical impact and ease of exploitation. Canonical has released patches in snap package channels 5.0/stable (version 5.0.6-e49d9f4), 5.21/stable (5.21.4-1374f39), and 6.0/stable (6.7-1f11451). No active exploitation has been reported to date, but the severity and nature of the flaw warrant immediate remediation.
Potential Impact
The impact of CVE-2026-28384 is severe for organizations utilizing Canonical LXD for container management. Exploitation enables an authenticated but unprivileged user to execute arbitrary commands with the privileges of the LXD daemon, which often has elevated rights on the host system. This can lead to full system compromise, including unauthorized access to sensitive data, disruption of containerized services, and lateral movement within the network. The vulnerability undermines the confidentiality, integrity, and availability of affected systems. Given the widespread adoption of LXD in cloud, enterprise, and development environments, the potential for significant operational disruption and data breaches is high. Attackers could leverage this flaw to deploy malware, exfiltrate data, or disrupt critical infrastructure. The lack of required user interaction and network-based attack vector increase the risk of rapid exploitation once the vulnerability is known.
Mitigation Recommendations
To mitigate CVE-2026-28384, organizations should immediately upgrade affected LXD installations to the patched versions provided by Canonical in the snap channels 5.0/stable (5.0.6-e49d9f4), 5.21/stable (5.21.4-1374f39), or 6.0/stable (6.7-1f11451). If upgrading is not immediately feasible, restrict access to the LXD API endpoints to trusted and authenticated users only, employing network segmentation and firewall rules to limit exposure. Implement strict authentication and authorization controls to minimize the number of users with access to LXD APIs. Monitor logs for unusual API activity, especially calls involving image and backup endpoints with suspicious compression_algorithm parameters. Employ runtime application self-protection (RASP) or host-based intrusion detection systems (HIDS) to detect anomalous command execution patterns. Regularly audit container management environments for compliance with security best practices and ensure that principle of least privilege is enforced for all users and services interacting with LXD. Finally, maintain an incident response plan to quickly address any suspected exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-02-27T11:06:14.064Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69b30a4f2f860ef943dbd36c
Added to database: 3/12/2026, 6:47:43 PM
Last enriched: 3/12/2026, 6:51:25 PM
Last updated: 3/14/2026, 1:51:14 AM
Views: 29
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.