CyberPanel Command Execution Vulnerability via Symlink Attack

Vulnerability

A remote code execution vulnerability has been identified in CyberPanel version 2.1. This issue allows authenticated attackers to read arbitrary files and execute remote code by exploiting symlink attacks through the filemanager controller endpoint. Attackers can manipulate the completeStartingPath parameter in POST requests to /filemanager/controller to create symbolic links, access sensitive files such as database credentials, and execute arbitrary shell commands via the /websites/fetchFolderDetails endpoint.

Impact

Exploitation of this vulnerability allows for authenticated remote code execution on the server.

Reproduction

To reproduce this vulnerability, an authenticated user can send a POST request to the /filemanager/controller endpoint with a crafted completeStartingPath parameter that creates a symbolic link to a sensitive file. After the symlink is established, the same endpoint can be used to read the contents of the linked file. Additionally, the /websites/fetchFolderDetails endpoint can be used to execute arbitrary commands by including them in the request.

Added: May 10, 2026, 1:32 PM
Updated: May 10, 2026, 1:32 PM

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
7.5
exploitability
6.6
remediation
0.0
relevance
7.9
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.