CVE-2026-50112: Apache CloudStack: SSRF via Metalink Mirror URL Resolution: An authenticated tenant can register a template pointing to an attacker-controlled metalink file containing internal targets
This Apache advisory covers CVE-2026-50112 in Apache CloudStack.
- CVE-2026-50112
Key facts
- Vendor rating
- High, CVSS 8.8
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H· base score 8.8, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-918 Server-Side Request Forgery (SSRF)
- EPSS
- 0.72% chance of exploitation in the next 30 days (54th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Affected
- 4.14.0.0 through 4.20.3.0; 4.21.0.0 through 4.22.1.0.; through 4.22.1.0
- Fixed in
- 4.20.3.1, 4.22.1.1
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
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.
Text from the source record.
- 4.14.0.0 through 4.20.3.0
- 4.21.0.0 through 4.22.1.0.
- through 4.22.1.0
Official advisory · high-confidence parse· fetched ·verify at source
How to fix CVE-2026-50112
Upgrade to a fixed release named by Apache:
- 4.20.3.1
- 4.22.1.1
Vendor guidance
- Users are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.
More Apache Software Foundation advisories
CVE-2026-47359Aug 21, 2026Apache CloudStack command injectionCVE-2026-50222Aug 21, 2026Apache CloudStack improper access controlCVE-2026-59085Aug 21, 2026Server-Side Request Forgery (SSRF) vulnerability in Apache CloudStack's webhook moduleCVE-2026-59655Aug 21, 2026Apache CloudStack information disclosureCVE-2026-59657Aug 21, 2026Apache CloudStack information disclosureCVE-2026-59780Aug 21, 2026Apache CloudStack information disclosure
Apache Software Foundation advisories, August 2026All Apache Software Foundation advisories
Get an email when Apache Infra (APISIX/Traffic Server/CloudStack) publishes the next one.
See Apache Infra (APISIX/Traffic Server/CloudStack)'s last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.