Cancer has currently become a serious public health issue in many countries worldwide, and tumors of the digestive system have attracted an increasing number of researchers' due to their numerous types, high proportion and wide area of occurrence. While tumors of the digestive system suffer from high mortality rates, leading to untimely diagnosis and a poor prognosis, making it necessary to update current treatment approaches such as surgery, radiation therapy, and chemotherapy. This highlights the importance of exploring novel therapeutic ideas and targets. Traditional Chinese medicine has a long history of clinical use due to its low toxicity and multi-factor targeting of multiple pathways. As a kind of traditional Chinese herb, S. nigrum Linn. is highly regarded for its proven antitumor activity. The aim of this study was to comprehensively recapitulate and analyze the anti-cancer effects and molecular mechanisms of treatment of gastrointestinal tumors with S. nigrum Linn. extracts and related compounds, including classical signaling pathways mediated by them as well as noncoding RNA pathways associated with tumor suppression. Components that have been found to be responsible for the anti-cancer activity of S. nigrum Linn. include solanine, solasonine, solamargine, a-L-rhhamnopyranose, uttroside B, degalactotigonin, glycoprotein, and other compounds. The underlying mechanisms of anti-cancer activity reflected in this study include apoptosis, cell cycle arrest, autophagy, anti-angiogenesis, suppression of metastasis and invasion, immune escape, and increased sensitivity to radiotherapy. S. nigrum Linn. has great potential in the treatment of tumors of the digestive system, and through further clinical trials and pharmacological mechanisms it has the potential to become a uniform and standardized anti-tumor drug.