Excess cholesterol is positively correlated with colorectal cancer (CRC). Current therapeutic strategies for modulating cholesterol levels in CRC are limited and often come with complications. Here, we demonstrated that microbiome shunting of intestinal cholesterol to anticancer metabolites is a safe and applicable therapeutic approach for CRC. By screening major microbial metabolic products of cholesterol, we found that 4-cholesten-3-one (4-C-3) was selectively depleted in fecal samples and tumor tissues of patients with CRC. 4-C-3 exhibits strong antitumor effects on human CRC cell lines, patient-derived organoids, and patient-derived xenograft (PDX) models. Mechanistically, 4-C-3 suppresses CRC tumorigenesis by dually targeting the epidermal growth factor receptor (EGFR) and Kirsten rat sarcoma viral oncogene homologue (KRAS). 4-C-3 directly binds to EGFR, blocking its signal transduction by inhibiting the binding of EGFR ligands. Additionally, 4-C-3 inhibits oncogenic KRAS variants, such as KRASG12D, by suppressing nucleotide exchange activity and effector engagement. By targeting both EGFR and KRAS, 4-C-3 reduces primary resistance to anti-EGFR therapies caused by KRAS mutations in CRC. As a proof-of-concept study, we showed that delivery of 4-C-3 by Oscillibacter ruminantium, a 4-C-3-producing commensal bacterium that is reduced in CRC patients, or a nonpathogenic Escherichia coli strain engineered to specifically convert intestinal cholesterol into 4-C-3, removed intratumoral cholesterol and led to rapid tumor regression in multiple models of CRC. These results suggest that microbial therapies for restoring intestinal cholesterol homeostasis represent a new therapeutic avenue for CRC.