CVE-2026-47359

Apache CloudStack: OS Command Injection due to unsanitized mount command

Published Aug 21, 2026 CVSS 3.1 · 8.8 High EPSS 2.0% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:*
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'}

Type Values Removed Values Added
First Time appeared Apache
Apache cloudstack
Vendors & Products Apache
Apache cloudstack
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
Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 26, 2026, 2:17 PM
Reserved
May 19, 2026, 2:09 PM
Status
Analyzed
Published
Aug 21, 2026, 9:16 AM
Modified
Oct 16, 2026, 3:10 PM