CVE-2026-79304
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.
Fraqueza
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.
Referências
- https://github.com/lichoin/TraceLoom/blob/main/CVEs/CVE-2026-79304.md
- https://github.com/usmannasir/cyberpanel/blob/v1.9.1/CyberCP/secMiddleware.py#L67-L70
- https://github.com/usmannasir/cyberpanel/blob/v1.9.1/filemanager/filemanager.py#L20-L27
- https://github.com/usmannasir/cyberpanel/blob/v1.9.1/filemanager/filemanager.py#L267-L276
- https://github.com/usmannasir/cyberpanel/blob/v1.9.1/filemanager/views.py#L98-L135
Encontre a falha antes de um atacante.
Entre com o GitHub e rode sua primeira auditoria em menos de um minuto. O plano gratuito não exige cartão de crédito.