# CVE-2026-47359: Apache CloudStack OS command injection in NAS backup plugin

Source: https://junglewise.ai/threats/cve-2026-47359-apache-cloudstack-os-command-injection-in-nas-backup-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-21. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-47359 · Severity: high · CVSS 8.8 · Published 2026-08-21

Apache CloudStack is an open-source cloud management platform that allows operators to manage virtual infrastructure and backups. A command injection vulnerability in the NAS backup provider plugin allows a malicious operator to inject arbitrary commands that execute on KVM hypervisor hosts during backup restore operations, potentially compromising the underlying infrastructure.

Technologies: [Apache Cloudstack](https://junglewise.ai/threats/technologies/cloudstack). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache).

## Quick answers

**Is CVE-2026-47359 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-47359 being exploited in the wild.

**How severe is CVE-2026-47359?** High severity, with a CVSS score of 8.8, published 21 August 2026.

**Which products and versions are affected?** Apache Cloudstack 4.20.0.0 through 4.20.3.0, 4.21.0.0 through 4.22.1.0.

**Is there a fix for CVE-2026-47359?** A patch was published on 2026-08-21: Fixed in versions 4.20.3.1, 4.22.1.1, and later Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-47359 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-47359?** Check whether you run Apache Cloudstack at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

An OS command injection vulnerability exists in Apache CloudStack's NAS backup provider plugin in the addBackupRepository (4.20.0.0+) and updateBackupRepository (4.21.0.0+) APIs. These APIs accept unsanitized command options passed directly to backup repository configuration without proper input validation or escaping. An attacker with operator privileges can inject shell metacharacters into these parameters to execute arbitrary commands on the KVM hypervisor when any account performs a backup restore operation. The vulnerability requires operator-level access but allows full command execution on the underlying hypervisor host, compromising system integrity and potentially affecting all hosted virtual machines.

## Affected products

- Apache CloudStack 4.20.0.0 through 4.20.3.0, 4.21.0.0 through 4.22.1.0

## Timeline

- 2026-08-21: disclosed
- 2026-08-21: patched: Fixed in versions 4.20.3.1, 4.22.1.1, and later

## References

- [https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc](https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc)

## Related threats

- [Apache CloudStack resource leak in scoped global configuration](https://junglewise.ai/threats/cve-2026-59654-apache-cloudstack-resource-leak-in-scoped-global-configuration)
- [Apache CloudStack certificate validation bypass in SAML authentication](https://junglewise.ai/threats/cve-2026-68745-apache-cloudstack-certificate-validation-bypass-in-saml)
- [Apache CloudStack improper access control in annotation APIs](https://junglewise.ai/threats/cve-2026-66797-apache-cloudstack-improper-access-control-in-annotation-apis)
- [Apache CloudStack improper authorization in project role management](https://junglewise.ai/threats/cve-2026-66722-apache-cloudstack-improper-authorization-in-project-role)
- [Apache CloudStack authorization bypass in host tags listing](https://junglewise.ai/threats/cve-2026-66721-apache-cloudstack-authorization-bypass-in-host-tags-listing)
