CVE-2025-56413
8.81Panel · 1Panel
A command injection vulnerability in 1Panel 2.0.8 allows authenticated attackers to execute arbitrary system commands via the operation parameter.
Executive summary
An OS command injection vulnerability in 1Panel 2.0.8 poses a high risk of total system compromise for organizations running this software.
Vulnerability
The vulnerability exists within the OperateSSH function, where improper input validation allows an authenticated user to inject malicious commands via the operation parameter at the /api/v2/hosts/ssh/operate endpoint.
Business impact
Successful exploitation of this flaw allows an attacker to achieve remote code execution on the underlying host, leading to full system compromise. With a CVSS score of 8.8, this represents a high-severity threat that could result in complete data exfiltration, unauthorized administrative access, and significant operational disruption.
Remediation
Immediate Action: Since a specific patch version is not currently identified, administrators should restrict network access to the 1Panel administrative interface to trusted IP addresses only and monitor for any unauthorized configuration changes.
Proactive Monitoring: Review web server and application logs for unusual activity targeting the /api/v2/hosts/ssh/operate endpoint, specifically looking for shell-related characters or command strings within the operation parameter.
Compensating Controls: Deploy a Web Application Firewall (WAF) rule to inspect and block requests to the vulnerable endpoint that contain suspicious command injection patterns.
Exploitation status
Public Exploit Available: Yes — a published proof-of-concept exists as documented in the linked research write-up.
Analyst recommendation
The severity of this command injection flaw necessitates immediate attention to prevent unauthorized system access. Organizations must treat the available proof-of-concept as a credible threat and implement strict access controls until an official security update is released by the vendor.