CVE-2026-79306

Path Traversal in CyberPanel v1.9.1 File Compression Endpoint Allows Arbitrary File Disclosure

Published Sep 23, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

CyberPanel 1.9.1 has a path traversal flaw in its compression routine accessed through the /filemanager/controller endpoint. The routine accepts a JSON payload containing a list of files, a basePath, and a compressedFileName, and it trusts only that the requesting user owns a domain on the server. Because the supplied paths are not canonicalized or restricted to the corresponding site directory, the backend concatenates them into zip or tar commands that run under the website's externalApp user. This allows an authenticated attacker who owns any configured domain to request an archive that includes arbitrary files located anywhere on the server, enabling disclosure of sensitive configuration or application data.

Affected Systems

The vulnerability affects CyberPanel version 1.9.1, specifically its filemanager component’s compression endpoint. No other vendors or versions are listed in the CNA data.

Risk and Exploitability

A CVSS score of 6.5 indicates moderate risk, primarily due to the confidentiality impact. Exploitation requires authenticated access and ownership of a domain on the server, narrowing the attacker pool to legitimate site administrators. The EPSS score is not available, so the exact likelihood remains uncertain, and the vulnerability is not listed in the CISA KEV catalog. If exploited, an attacker can retrieve any readable file on the server through the generated archive, but no evidence indicates a denial of service or other availability impact. The attack vector is an authenticated remote request to a controlled endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest CyberPanel update that fixes the compression path traversal flaw.
  • If an update cannot be applied immediately, restrict or disable the /filemanager/controller endpoint so that only trusted, whitelisted domains can invoke the compress operation.
  • Validate and canonicalize all user‑supplied file paths server‑side and enforce that they reside within the owner’s site directory before constructing compression commands.

Generated by OpenCVE AI on September 23, 2026 at 18:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Usmannasir
Usmannasir cyberpanel
Vendors & Products Usmannasir
Usmannasir cyberpanel
Type Values Removed Values Added
Title Path Traversal in CyberPanel v1.9.1 File Compression Endpoint Allows Arbitrary File Disclosure
Weaknesses CWE-20
CWE-22
Type Values Removed Values Added
Description 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.
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:L/S:U/UI:N'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 25, 2026, 6:05 PM
Reserved
Aug 25, 2026, 12:00 AM
Status
Deferred
Published
Sep 23, 2026, 4:16 PM
Modified
Sep 25, 2026, 3:17 PM