{"id":"CVE-2026-25077","state":"PUBLISHED","title":"Apache CloudStack: Unauthenticated Command Injection in Direct Download Templates","description":"Account users are allowed by default to register templates to be downloaded directly to the primary storage for deploying instances using the KVM hypervisor. Due to missing file name sanitization, an attacker can register malicious templates to execute arbitrary code on the KVM hosts. This can result in the compromise of resource integrity and confidentiality, data loss, denial of service, and availability of the KVM-based infrastructure managed by CloudStack.\n\n\nUsers are recommended to upgrade to Apache CloudStack versions 4.20.3.0 or 4.22.0.1, or later, which fixes this issue.","publishedAt":"2026-05-08T12:21:27.034Z","updatedAt":"2026-05-10T14:31:54.919Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache CloudStack"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache CloudStack","defaultStatus":"unaffected","versions":[{"version":"4.11.0","status":"affected","lessThanOrEqual":"4.20.2.0","versionType":"semver"},{"version":"4.21.0.0","status":"affected","lessThanOrEqual":"4.22.0.0","versionType":"semver"}]}],"references":["https://lists.apache.org/thread/n8mt5b7wkpysstb8w7rr9f02kc5cq2xm","http://www.openwall.com/lists/oss-security/2026/05/09/6"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/25xxx/CVE-2026-25077.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-25077","state":"PUBLISHED","datePublished":"2026-05-08T12:21:27.034Z","dateUpdated":"2026-05-10T14:31:54.919Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-01-28T22:03:17.222Z"},"containers":{"cna":{"title":"Apache CloudStack: Unauthenticated Command Injection in Direct Download Templates","descriptions":[{"lang":"en","value":"Account users are allowed by default to register templates to be downloaded directly to the primary storage for deploying instances using the KVM hypervisor. Due to missing file name sanitization, an attacker can register malicious templates to execute arbitrary code on the KVM hosts. This can result in the compromise of resource integrity and confidentiality, data loss, denial of service, and availability of the KVM-based infrastructure managed by CloudStack.\n\n\nUsers are recommended to upgrade to Apache CloudStack versions 4.20.3.0 or 4.22.0.1, or later, which fixes this issue."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache CloudStack","defaultStatus":"unaffected","versions":[{"version":"4.11.0","status":"affected","lessThanOrEqual":"4.20.2.0","versionType":"semver"},{"version":"4.21.0.0","status":"affected","lessThanOrEqual":"4.22.0.0","versionType":"semver"}]}],"references":[{"url":"https://lists.apache.org/thread/n8mt5b7wkpysstb8w7rr9f02kc5cq2xm","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"important"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-05-08T12:21:27.034Z"},"credits":[{"lang":"en","type":"reporter","value":"Reza at HazardLab (https://hazardlab.ninja)"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-05-09T03:55:48.304766Z","id":"CVE-2026-25077","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-10T14:31:54.919Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/09/6"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-05-09T06:43:05.523Z"}}]}}}