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.
Published: 2026-08-21
Score: 8.8 High
EPSS: 1.1% Low
KEV: No
Impact: Remote Code Execution via OS Command Injection
Action: Immediate Patch
AI Analysis

Impact

Apache CloudStack’s NAS backup provider includes an API that accepts command options from the addBackupRepository and updateBackupRepository calls without sanitization. A malicious operator can insert arbitrary shell commands, which are later executed on the KVM hypervisor host during a backup restore, giving the attacker the ability to run arbitrary code with host privileges. This flaw maps to the OS Command Injection weakness (CWE-78) and could grant full control over the virtualization environment.

Affected Systems

Versions of Apache CloudStack from 4.20.0.0 through 4.20.3.0 and from 4.21.0.0 through 4.22.1.0 are impacted. The vulnerability exists in the CloudStack environment deployed by the Apache Software Foundation.

Risk and Exploitability

The issue is not listed in the CISA KEV catalog and the EPSS score is less than 1%, indicating a low current exploitation probability. However, the CVE details indicate that an attacker with operator privileges can inject commands, and the subsequent execution occurs on the hypervisor host during any backup restore activity. The CVSS score of 8.8 reflects a high severity, and the remote code execution nature combined with the need for privileged operator access makes the risk high for environments where operator accounts have broad permissions. Organizations should treat this flaw as a critical security issue.

Generated by OpenCVE AI on August 26, 2026 at 17:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache CloudStack to 4.20.3.1, 4.22.1.1, or a later release that includes the fixed backup repository handling.
  • Restrict operator accounts so that only trusted personnel can execute backup‑related APIs, limiting the ability to inject malicious commands.
  • Review and sanitize any manually configured backup repository options to ensure no untrusted input reaches the mount command.
  • Monitor backup restore logs for unexpected command execution patterns and audit operator activity to detect potential abuse.

Generated by OpenCVE AI on August 26, 2026 at 17:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:*

Wed, 26 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 21 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache cloudstack
Vendors & Products Apache
Apache cloudstack

Fri, 21 Aug 2026 08:45:00 +0000

Type Values Removed Values Added
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.
Title Apache CloudStack: OS Command Injection due to unsanitized mount command
Weaknesses CWE-78
References

Subscriptions

Apache Cloudstack
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-26T14:17:31.535Z

Reserved: 2026-05-19T14:09:26.916Z

Link: CVE-2026-47359

cve-icon Vulnrichment

Updated: 2026-08-21T13:28:51.757Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-21T09:16:38.000

Modified: 2026-08-27T00:06:21.860

Link: CVE-2026-47359

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T17:30:10Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')