Digestive system cancer and COVID-19 significantly affect the digestive system, but the mechanism of interaction between COVID-19 and the digestive system cancers has not been fully elucidated. We downloaded the gene expression of COVID-19 and seven digestive system cancers (oral, esophageal, gastric, colorectal, hepatocellular, bile duct, pancreatic) from GEO and identified hub differentially expressed genes. Multiple verifications, diagnostic efficacy, prognostic analysis, functional enrichment and related transcription factors of hub genes were explored. We identified 23 common DEGs for subsequent analysis. CytoHubba identified nine hub genes (CCNA2, CCNB1, CDKN3, ECT2, KIF14, KIF20A, KIF4A, NEK2, TTK). TCGA and GEO data validated the expression and excellent diagnostic and prognostic ability of hub genes. Functional analysis revealed that the processes of cell division and the cell cycle were essential in COVID-19 and digestive system cancers. Furthermore, six related transcription factors (E2F1, E2F3, E2F4, MYC, TP53, YBX1) were involved in hub gene regulation. Via in vitro experiments, CCNA2, CCNB1, and MYC expression was verified in 25 colorectal cancer tissue pairs. Our study revealed the key biomarks and common pathogenesis of digestive system cancers and COVID-19. These may provide new ideas for further mechanistic research.