{"schemaVersion":3,"id":"CVE-2026-61400","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache CloudStack's run and get diagnostics functionality for the system VMs and virtual routers.\n\nAn authenticated user holding the permissions required to invoke either `getDiagnosticsData` or `runDiagnostics` can achieve arbitrary command execution on the system VM and/or Virtual Router instances, with commands running as root (or as the diagnostics-process user, at minimum). This represents a full compromise of the affected instance and, depending on network segmentation, may provide a foothold for lateral movement within the CloudStack-managed infrastructure, including access to guest network traffic handled by the compromised Virtual Router.\n\n\n\nThe getDiagnosticsData and runDiagnostics APIs are restricted to only Admin role accounts by default.\n\n\nThis 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.\n\nUsers are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.","dates":{"published":"2026-08-21T08:25:02.951Z","modified":"2026-08-22T03:56:24.167Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02907,"percentile":0.86782,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":1.3679999999999999,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01539},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02907,"percentile":0.86782}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01539,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02907,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02907,"percentile":0.86782}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"}],"affected":[{"vendor":"apache software foundation","product":"apache cloudstack","name":"Apache CloudStack","label":"apache cloudstack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.14.0.0, ≤ 4.20.3.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.21.0.0, ≤ 4.22.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.14.0.0, ≤ 4.20.3.0 | ≥ 4.21.0.0, ≤ 4.22.1.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_cloudstack"},{"vendor":"apache","product":"cloudstack","name":"cloudstack","label":"cloudstack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.20.0.0, < 4.20.3.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.21.0.0, < 4.22.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.20.0.0, < 4.20.3.1 | ≥ 4.21.0.0, < 4.22.1.1","eol":null,"hubHref":"/vendor/apache/cloudstack"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc","label":"lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc","hostname":"lists.apache.org","tags":["Vendor Advisory","Mailing List"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-21T08:25:02.951Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-22T03:56:24.167Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:31:33.531Z","stale":false,"partial":false}}