Description
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache CloudStack's NAS backup provider plugin. The addBackupRepository API (available since 4.20.0.0) and updateBackupRepository API (introduced in 4.22.0.0) accept unsanitized command options for the backup repository. A malicious operator account can exploit this to inject arbitrary commands that execute on the KVM hypervisor host when any account subsequently performs a backup restore.
This issue affects Apache CloudStack: from 4.20.0.0 through 4.20.3.0 and from 4.21.0.0 through 4.22.1.0.
Users are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache CloudStack | 4.20.0.0 – ≤ 4.20.3.0, 4.21.0.0 – ≤ 4.22.1.0 | — |
Advisories 2
- NCSC-2026-0332 Kwetsbaarheden verholpen in Apache CloudStack NCSC-NL (Netherlands) · Aug 27, 2026
- WID-SEC-2026-2962 Apache CloudStack: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 23, 2026
References
- https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc vendor-advisory