Among these, four B cell traits showed significant associations: IgD- CD27- B cell %B cell (OR = 0.70, 95%CI = 0.49~1.00, p = 0.047) was negatively correlated with glioma risk, while CD19 on IgD+ CD38dim B cell (OR = 1.11, 95%CI = 1.00~1.24, p = 0.042), CD27 on CD24+ CD27+ B cell (OR = 1.24, 95%CI = 1.02~1.50, p = 0.031), and CD27 on unswitched memory B cell (OR = 1.21, 95%CI = 1.00~1.46, p = 0.048) were positively correlated with glioma risk. Here, CD27 is linked to central nervous system cancer.