Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-61400— Apache CloudStack: Get and Run Diagnostics Command Injection

Quick assessment

Affected
Apache Software Foundation Apache CloudStack
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Apache CloudStack 系统虚拟机和虚拟路由器在“运行诊断”(run diagnostics)和“获取诊断数据”(get diagnostics)功能中存在“命令注入”漏洞,即对命令中使用的特殊元素处理不当(Improper Neutralization of Special Elements used in a Command)。 具备相应权限的已认证用户若能调用 或 接口,便可在系统虚拟机和/或虚拟路由器实例上实现任意命令执行。所执行的命令至少以运行诊断服务的用户身份执行,也可能以 root 权限运

AI Predicted 8.1 Difficulty: Easy EPSS 1.19% · P65

Affected Version Matrix 2

VendorProduct Version RangeStatus
Apache Software Foundation Apache CloudStack 4.14.0.0≤ 4.20.3.0 affected
4.21.0.0≤ 4.22.1.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-61400

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Apache CloudStack: Get and Run Diagnostics Command Injection
Source: CVE Program / CVE List V5
Vulnerability 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. An 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. The getDiagnosticsData and runDiagnostics APIs are restricted to only Admin role accounts by default. This 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. Users are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Apache Software Foundation Apache CloudStack 4.14.0.0 ~ 4.20.3.0 -

II. Public POCs for CVE-2026-61400

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-61400

登录查看更多情报信息。

Mailing List Discussions for CVE-2026-61400 (1)

Same Patch Batch · Apache Software Foundation · 2026-08-21 · 21 CVEs total

CVE-2026-59654 6.8 MEDIUM Apache CloudStack: DoS caused by database connections leak
CVE-2026-61397 Apache CloudStack: OAuth2 Token Cross-Request Leak
CVE-2026-68745 Apache CloudStack: SAML2 Signature Validation Silently Skipped for Cert-less IdP
CVE-2026-66797 Apache CloudStack: Unauthorised comment creation and disclosure
CVE-2026-66722 Apache CloudStack: ProjectRole & ProjectRolePermission authorization issue
CVE-2026-66721 Apache CloudStack: Authorization issue with listHostTags for domain admins
CVE-2026-65613 Apache CloudStack: Webhook Deliveries Incorrect Access
CVE-2026-62440 Apache CloudStack: Improper access control in Kubernetes Service (CKS) cluster manipulatio
CVE-2026-61422 Apache CloudStack: Authenticated pre-validation SSRF in registerTemplate
CVE-2026-61399 Apache CloudStack: Cross-Site Scripting (XSS) Vulnerability in Lock User Function in UI
CVE-2026-61398 Apache CloudStack: Cross-Site Scripting (XSS) Vulnerability in Instance Reset Password Fun
CVE-2026-59799 Apache CloudStack: Missing Privilege Check in Two-Factor Authentication Disable Flow
CVE-2026-59780 Apache CloudStack: LDAP provider configuration disclosure
CVE-2026-59657 Apache CloudStack: Sensitive Information Disclosure via Cleartext Storage in AsyncJob
CVE-2026-59655 Apache CloudStack: Unauthenticated OAuth provider client-secret disclosure
CVE-2026-59085 Apache CloudStack: Server-Side Request Forgery (SSRF) vulnerability in webhook module
CVE-2026-50222 Apache CloudStack: Improper access control in Userdata reference APIs
CVE-2026-50112 Apache CloudStack: RCE and SSRF in direct download, metalink and NFS templates
CVE-2026-47359 Apache CloudStack: OS Command Injection due to unsanitized mount command
CVE-2026-63046 Apache InLong: Agent Installer — Command Injection to RCE via Default Credentials

IV. Related Vulnerabilities

V. Comments for CVE-2026-61400

No comments yet


Leave a comment