Pulmonary hypertension (PH) is a malignant pulmonary vascular disease with a poor prognosis. Although the development of targeted drugs for this disease has made some breakthroughs in recent decades, PH remains incurable. Therefore, innovative clinical treatment methods and drugs for PH are still urgently needed. DYZY01 is a new drug whose main ingredient is high-purity cannabidiol, a non-psychoactive constituent of cannabinoids that was demonstrated to have anti-inflammatory and anti-pyroptosis properties. Several recent studies have found cannabidiol could improve experimental PH, whereas the mechanistic effect of it warrants further investigation. Thus, this study aimed to investigate whether DYZY01 can treat PH by inhibiting inflammation and pyroptosis and to reveal its underlying mechanism. We established hypoxia and monocrotaline (MCT)-induced PH rat models in vivo and treated them with either DYZY01 (10,50 mg/kg/d) or Riociguat (10 mg/kg/d) by oral administration. The mean pulmonary arterial pressure (mPAP), right ventricular hypertrophy index (RVHI), and extent of vascular remodeling were measured. Meanwhile, the effect of DYZY01 on human pulmonary arterial endothelial cells (HPAECs) was assessed in vitro. The results indicated that DYZY01 significantly reduced mPAP and RVHI in PH rats and reversed the extent of pulmonary vascular remodeling. This improvement may have been achieved by reducing endothelial cell pyroptosis via inhibiting the NF-κB/NLRP3/Caspase-1 pathway. Furthermore, DYZY01 could improve endothelial vascular function, possibly by regulating the secretion of vasodilator factors and inhibiting the proliferation and migration of pulmonary endothelial cells.