CVE-2026-79304: Path Traversal
CyberPanel 1.9.1 contains a path traversal vulnerability in the readFileContents method of the /filemanager/controller endpoint. An authenticated remote attacker with ownership of any configured domain can supply an arbitrary absolute or out-of-scope path in the fileName JSON property. Because authorization validates only domainName and does not canonicalize or restrict fileName to that domain's home directory, the application returns the contents of files readable by the CyberPanel execution identity.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated remote attacker must own any domain configured in CyberPanel. No user interaction is required.
What information can an attacker access?
The attacker can request arbitrary absolute or out-of-scope paths through the fileName JSON property and read files that are readable by the CyberPanel execution identity. Access is not limited to the owned domain's home directory.
Is domain ownership alone sufficient to bypass the file path restriction?
Yes. The endpoint authorizes the supplied domainName but does not canonicalize fileName or verify that it remains under that domain's home directory.