CVE-2026-47359 PUBLISHED

Apache CloudStack: OS Command Injection due to unsanitized mount command

Assigner: apache
Reserved: 19.05.2026 Published: 21.08.2026 Updated: 21.08.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache CloudStack
Versions Default: unaffected
  • affected from 4.20.0.0 to 4.20.3.0 (incl.)
  • affected from 4.21.0.0 to 4.22.1.0 (incl.)

Credits

  • 김우석 <wooseokdotkim@gmail.com> reporter
  • Łukasz Bawolski <Lukasz.Bawolski@exea.pl> reporter

References

Problem Types

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE