CVEvulnerability
CVE-2026-79304
6.5 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2026-09-23
- Last modified
- 2026-09-24
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
Description
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.
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/lichoin/TraceLoom/blob/main/CVEs/CVE-2026-79304.md github.com
- https://github.com/usmannasir/cyberpanel/blob/v1.9.1/CyberCP/secMiddleware.py#L67-L70 github.com
- https://github.com/usmannasir/cyberpanel/blob/v1.9.1/filemanager/filemanager.py#L20-L27 github.com
- https://github.com/usmannasir/cyberpanel/blob/v1.9.1/filemanager/filemanager.py#L267-L276 github.com
- https://github.com/usmannasir/cyberpanel/blob/v1.9.1/filemanager/views.py#L98-L135 github.com