Cervical cancer, a prevalent malignancy in the female reproductive tract, exhibits a high incidence. Existing evidence indicates a robust correlation between alterations in vaginal flora composition and the progression of cervical cancer. Nevertheless, there is a lack of clarity concerning the specific microorganisms within the vaginal microbiota that are linked to the onset and development of cervical cancer, as well as the mechanisms through which they exert carcinogenic effects. The 16 S ribosomal (rRNA) and metagenomic sequencing technology were used to analyze vaginal microorganisms, and screening for human papillomavirus (HPV) positive cervical cancer-associated microbial markers using fold change in mean bacterial abundance. Moreover, vaginal microenvironmental factors were detected, and the local vaginal inflammatory state in patients with cervical cancer was subjected to assay via qRT-PCR and ELISA. The hub inflammatory genes were screened by transcriptome sequencing after co-culture of bacteria and normal cervical epithelial cells, and an in vitro model was utilized to assess the impacts of inflammatory factors on cervical cancer. Both cervical cancer patients and HPV-positive patients showed significant changes in the composition of the vaginal flora, characterised by a decrease in the abundance of Lactobacillus and an increase in the abundance of a variety of anaerobic bacteria; The microbial sequencing identified Porphyromonas, Porphyromonas_asaccharolytica, and Porphyromonas_uenonis as microbial markers for HPV-associated cervical cancer. Vaginal inflammatory factors in patients with cervical cancer were overexpressed. After Porphyromonas_asaccharolytica intervention on cervical epithelial H8 cells, interleukin (IL)-1β, a hub differential gene, markedly promoted tumor-associated biological behaviors at the in vitro cytological level in cervical cancer. This study for the first demonstrated that Porphyromonas, Porphyromonas_asaccharolytica, and Porphyromonas_uenonis could serve as novel microbial markers for cervical cancer. Moreover, Porphyromonas_asaccharolytica was identified as having the ability to induce the overexpression of inflammatory genes in cervical epithelial cells to create a favorable microenvironment for the onset and development of cervical cancer. The effects of dysbacteriosis on cervical cancer were microbiologically elucidated.