CVE-2026-50112: Apache Cloudstack RCE

CVE-2026-50112

NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

Vulnerability Summary

SSRF via Metalink Mirror URL Resolution:

An authenticated tenant can register a template pointing to an attacker-controlled metalink file containing internal targets. The Secondary Storage VM will retrieve the data and persist it as a template file, which can later be downloaded through normal APIs.

RCE on KVM hypervisor via NFS, Metalink files with/without Direct Downloads:

An authenticated CloudStack tenant holding the default User role can execute arbitrary shell commands as root on the KVM hypervisor host that runs other tenants' VMs. This is cross-tenant root on the underlying compute, reachable via the public CloudStack API.


When a User registers a VM template with directDownload=true and a URL pointing to a .metalink file, the management server fetches the metalink XML and dispatches download to the KVM agent. Inner URLs inside the metalink XML are never re-validated against the scheme allowlist.


These issues affect Apache CloudStack: from 4.14.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.
Severity Level
HIGH(8.8)
Published Date
Aug 21, 2026
Last Modified
Oct 16, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.72%Probability
Root Weakness (CWE)
The software constructs all or part of an OS command using externally-influenced input, but does not properly neutralize special elements.
The web server receives a URL or similar request from an upstream component and retrieves its contents, but does not sufficiently ensure that the request is being sent to the expected destination.
CVSS v3.1 Base Metrics — Score 8.8 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Apache Cloudstack >= 4.14.0.0 and < 4.20.3.1
  • Apache Cloudstack >= 4.21.0.0 and < 4.22.1.1
  • Apache Software Foundation Apache CloudStack >= 4.14.0.0 and <= 4.20.3.0
  • Apache Software Foundation Apache CloudStack >= 4.21.0.0 and <= 4.22.1.0
Patched Versions
  • Apache Cloudstack 4.20.3.1
  • Apache Cloudstack 4.22.1.1
  • Apache Software Foundation Apache CloudStack 4.20.3.0
  • Apache Software Foundation Apache CloudStack 4.22.1.0

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run Apache Cloudstack and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Aug 21, 2026Published
  • Oct 16, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Apache Cloudstack CVEsYou are reading CVE-2026-50112. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 3, 2026 00:47 UTC