Here, we provide an overview and discussion of modulation of the NF-κB signaling pathway by microbiota, especially infectious bacteria, in GI tumorigenesis, with a major focus on gastric cancer and CRC. This evidence concerns the gene NFKB1 and gastric cancer.