CVE-2026-79306: Path Traversal
CyberPanel v1.9.1 contains a path traversal vulnerability in the compress method exposed through the /filemanager/controller endpoint. An authenticated remote attacker with ownership of any configured domain can supply absolute or otherwise out-of-scope file paths in the listOfFiles JSON property, together with attacker-controlled basePath and compressedFileName values, in a method=compress request. Because the application validates only domain ownership and does not canonicalize or restrict these paths to the authorized site directory, the backend appends them to zip or tar archive commands and executes them as the website externalApp user, allowing disclosure of arbitrary readable files through the generated archive.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated remote attacker must own at least one configured domain in CyberPanel. The vulnerable request is handled through the file manager controller and runs archive operations as the website externalApp user.
What access does an attacker gain through successful exploitation?
An attacker can include arbitrary files that are readable by the website externalApp user in a generated ZIP or TAR archive. They can then use that archive to disclose the included file contents.
What request inputs are involved in exploitation?
The attacker supplies out-of-scope or absolute paths in the listOfFiles JSON property, along with attacker-controlled basePath and compressedFileName values, in a request with method=compress. Domain ownership is checked, but the paths are not canonicalized or constrained to the authorized site directory.