{
    "document": {
        "category": "csaf_base",
        "csaf_version": "2.0",
        "distribution": {
            "tlp": {
                "label": "WHITE"
            }
        },
        "lang": "en",
        "notes": [
            {
                "category": "legal_disclaimer",
                "text": "The Netherlands Cyber Security Center (henceforth: NCSC-NL) maintains this portal to enhance access to its information and vulnerabilities. The use of this information is subject to the following terms and conditions:\n\nThe vulnerabilities disclosed in this portal are gathered by NCSC-NL from a variety of open sources, which the user can retrieve from other platforms. NCSC-NL makes every reasonable effort to ensure that the content of this portal is kept up to date, and that it is accurate and complete. Nevertheless, NCSC-NL cannot entirely rule out the possibility of errors, and therefore cannot give any warranty in respect of its completeness, accuracy or real-time keeping up-to-date. NCSC-NL does not control nor guarantee the accuracy, relevance, timeliness or completeness of information obtained from these external sources. The vulnerabilities disclosed in this portal are intended solely for the convenience of professional parties to take appropriate measures to manage the risks posed to the cybersecurity. No rights can be derived from the information provided therein.\n\nNCSC-NL and the Kingdom of the Netherlands assume no legal liability or responsibility for any damage resulting from either the use or inability of use of the vulnerabilities disclosed in this portal. This includes damage resulting from the inaccuracy of incompleteness of the information contained in it.\nThe information on this page is subject to Dutch law. All disputes related to or arising from the use of this portal regarding the disclosure of vulnerabilities will be submitted to the competent court in The Hague. This choice of means also applies to the court in summary proceedings."
            }
        ],
        "publisher": {
            "category": "coordinator",
            "contact_details": "cert@ncsc.nl",
            "name": "National Cyber Security Centre",
            "namespace": "https://www.ncsc.nl/"
        },
        "title": "CVE-2026-50112",
        "tracking": {
            "current_release_date": "2026-08-27T07:45:48.235644Z",
            "generator": {
                "date": "2026-02-17T15:00:00Z",
                "engine": {
                    "name": "V.E.L.M.A",
                    "version": "1.7"
                }
            },
            "id": "CVE-2026-50112",
            "initial_release_date": "2026-08-21T08:38:47.768386Z",
            "revision_history": [
                {
                    "date": "2026-08-21T08:38:47.768386Z",
                    "number": "1",
                    "summary": "CVE created.| Source created.| CVE status created. (valid)| Description created for source.| Products created (1).| Products connected (1).| References created (1).| CWES updated (1)."
                },
                {
                    "date": "2026-08-21T08:38:54.868852Z",
                    "number": "2",
                    "summary": "NCSC Score created."
                },
                {
                    "date": "2026-08-21T09:25:48.384656Z",
                    "number": "3",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| References created (1).| CWES updated (1)."
                },
                {
                    "date": "2026-08-21T09:25:58.844731Z",
                    "number": "4",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-08-21T11:35:18.142596Z",
                    "number": "5",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-08-21T12:05:36.664740Z",
                    "number": "6",
                    "summary": "Source connected.| CVE status created. (valid)| Products connected (2).| References created (3)."
                },
                {
                    "date": "2026-08-21T12:05:38.528084Z",
                    "number": "7",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-08-21T14:30:15.248040Z",
                    "number": "8",
                    "summary": "CVSS created."
                },
                {
                    "date": "2026-08-21T14:30:19.099829Z",
                    "number": "9",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-08-21T14:38:57.710583Z",
                    "number": "10",
                    "summary": "CVSS created.| Unknown change."
                },
                {
                    "date": "2026-08-21T14:39:11.925314Z",
                    "number": "11",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-08-21T15:37:42.613010Z",
                    "number": "12",
                    "summary": "Source connected.| CVE status created. (valid)| EPSS created."
                },
                {
                    "date": "2026-08-21T15:37:50.903081Z",
                    "number": "13",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-08-22T15:21:17.775286Z",
                    "number": "14",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-08-22T15:21:28.259021Z",
                    "number": "15",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-08-25T07:27:13.428960Z",
                    "number": "16",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-08-27T00:25:42.557191Z",
                    "number": "17",
                    "summary": "Products created (1).| Product Identifiers created (2).| Products connected (1)."
                },
                {
                    "date": "2026-08-27T00:25:48.589297Z",
                    "number": "18",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-08-27T07:45:24.395346Z",
                    "number": "19",
                    "summary": "Source connected.| CVE status created. (valid)"
                }
            ],
            "status": "interim",
            "version": "19"
        }
    },
    "product_tree": {
        "branches": [
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:semver/4.14.0.0|<=4.20.3.0",
                                "product": {
                                    "name": "vers:semver/4.14.0.0|<=4.20.3.0",
                                    "product_id": "CSAFPID-9033074"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:semver/4.21.0.0|<=4.22.1.0",
                                "product": {
                                    "name": "vers:semver/4.21.0.0|<=4.22.1.0",
                                    "product_id": "CSAFPID-9033068"
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "Apache CloudStack"
                    },
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=4.14.0.0|<4.20.3.1",
                                "product": {
                                    "name": "vers:unknown/>=4.14.0.0|<4.20.3.1",
                                    "product_id": "CSAFPID-9060584",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:*"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=4.21.0.0|<4.22.1.1",
                                "product": {
                                    "name": "vers:unknown/>=4.21.0.0|<4.22.1.1",
                                    "product_id": "CSAFPID-9060582",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:*"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/lts <4.20.3.1",
                                "product": {
                                    "name": "vers:unknown/lts <4.20.3.1",
                                    "product_id": "CSAFPID-9033533"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/lts <4.22.1.1",
                                "product": {
                                    "name": "vers:unknown/lts <4.22.1.1",
                                    "product_id": "CSAFPID-9033534"
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "CloudStack"
                    }
                ],
                "category": "vendor",
                "name": "Apache Software Foundation"
            }
        ]
    },
    "vulnerabilities": [
        {
            "cve": "CVE-2026-50112",
            "cwe": {
                "id": "CWE-78",
                "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"
            },
            "notes": [
                {
                    "category": "description",
                    "text": "SSRF via Metalink Mirror URL Resolution:\n\nAn 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.\n\nRCE on KVM hypervisor via NFS, Metalink files with/without Direct Downloads:\n\nAn 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.\n\n\nWhen 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.\n\n\nThese 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.\n\nUsers are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.",
                    "title": "cveprojectv5 - https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/50xxx/CVE-2026-50112.json"
                },
                {
                    "category": "description",
                    "text": "SSRF via Metalink Mirror URL Resolution:\n\nAn 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.\n\nRCE on KVM hypervisor via NFS, Metalink files with/without Direct Downloads:\n\nAn 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.\n\n\nWhen 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.\n\n\nThese 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.\n\nUsers are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.",
                    "title": "nvd - https://nvd.nist.gov/vuln/detail/CVE-2026-50112"
                },
                {
                    "category": "other",
                    "text": "0.00316",
                    "title": "EPSS"
                },
                {
                    "category": "other",
                    "text": "6.9",
                    "title": "NCSC Score"
                },
                {
                    "category": "other",
                    "text": "There is product data available from source Nvd, The value of the most recent EPSS score, There is product data available from source Certbundde",
                    "title": "NCSC Score top increasing factors"
                }
            ],
            "product_status": {
                "known_affected": [
                    "CSAFPID-9033068",
                    "CSAFPID-9033074",
                    "CSAFPID-9033533",
                    "CSAFPID-9033534",
                    "CSAFPID-9060582",
                    "CSAFPID-9060584"
                ]
            },
            "references": [
                {
                    "category": "external",
                    "summary": "Source - certbundde",
                    "url": "https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2962.json"
                },
                {
                    "category": "external",
                    "summary": "Source - first",
                    "url": "https://api.first.org/data/v1/epss?limit=10000&offset=10000"
                },
                {
                    "category": "external",
                    "summary": "Source - ncscclear",
                    "url": "https://advisories.ncsc.nl/advisory?id=NCSC-2026-0332"
                },
                {
                    "category": "external",
                    "summary": "Source - cveprojectv5",
                    "url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/50xxx/CVE-2026-50112.json"
                },
                {
                    "category": "external",
                    "summary": "Source - nvd",
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-50112"
                },
                {
                    "category": "external",
                    "summary": "Source - ncscclear",
                    "url": "https://vulnerabilities.ncsc.nl/manual/CVE-2026-50112"
                },
                {
                    "category": "external",
                    "summary": "Reference - cveprojectv5; nvd",
                    "url": "https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2962.json"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2962"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://cloudstack.apache.org/blog/security-release-advisory-4.20.3.1-4.22.1.1"
                }
            ],
            "scores": [
                {
                    "cvss_v3": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH"
                    },
                    "products": [
                        "CSAFPID-9033068",
                        "CSAFPID-9033074",
                        "CSAFPID-9033533",
                        "CSAFPID-9033534",
                        "CSAFPID-9060582",
                        "CSAFPID-9060584"
                    ]
                }
            ],
            "title": "CVE-2026-50112"
        }
    ]
}