Astragalus membranaceus is a famous traditional medicinal plant. However, drought and cadmium (Cd) pollution are the main abiotic stress factors that affect plant growth and yield and the ability to improve the host's stress resistance through the use of beneficial endophytic fungi. To evaluate the tolerance of dark septate endophytes (DSE) to various abiotic stresses, 10 DSE strains [Microsphaeropsis cytisi (Mc), Alternaria alstroemeriae (Aa), Stagonosporopsis lupini (Sl), Neocamarosporium phragmitis (Np), Paraphoma chlamydocopiosa (Pc), Macrophomina phaseolina (Mp'), Papulaspora equi (Pe), Alternaria tellustris (At), Macrophomina pseudophaseolina (Mp), and Paraphoma radicina (Pr)] were investigated under different drought and Cd stressors in vitro by using solid-plate cultures and liquid-shaker cultures in the current study. The experiments involved using varying concentrations of PEG (0, 9, 18, and 27%) and Cd2+ (0, 25, 50, and 100 mg/L) to simulate different stress conditions on DSE. Additionally, the effect of DSE (Np and At) on the growth of A. membranaceus at different field water capacities (70% and 40%) and at different CdCl2 concentrations (0, 5, 10, and 15 mg Cd/kg) in soil was studied. The results demonstrated that the colony growth rates of Aa, Np, Pc, Mp', and Mp were the first to reach the maximum diameter at a PEG concentration of 18%. Aa, Np, and At remained growth-active at 100 mg Cd/L. In addition, Aa, Np, and At were selected for drought and Cd stress tests. The results of the drought-combined-with-Cd-stress solid culture indicated that the growth rate of Np was significantly superior to that of the other strains. In the liquid culture condition, the biomasses of Np and Aa were the highest, with biomasses of 1.39 g and 1.23 g under the concentration of 18% + 25 mg Cd/L, and At had the highest biomass of 1.71 g at 18% + 50 mg Cd/L concentration, respectively. The CAT and POD activities of Np reached their peak levels at concentrations of 27% + 50 mg Cd/L and 27% + 25 mg Cd/L, respectively. Compared to the control, these levels indicated increases of 416.97% and 573.12%, respectively. Aa, Np, and At positively influenced SOD activity. The glutathione (GSH) contents of Aa, Np, and At were increased under different combined stressors of drought and Cd. The structural-equation-modeling (SEM) analysis revealed that Aa positively influenced biomass and negatively affected Cd content, while Np and At positively influenced Cd content. Under the stress of 40% field-water capacity and the synergistic stress of 40% field-water capacity and 5 mg Cd/kg soil, Np and At significantly increased root weight of A. membranaceus. This study provides guidance for the establishment of agricultural planting systems and has good development and utilization value.