testing the addition of an anticancer drug, bay 1895344, to the usual chemotherapy with folfiri in advanced or metastatic cancers of the stomach and intestines

Conditions: Advanced Colorectal Carcinoma; Advanced Digestive System Carcinoma; Advanced Gastric Carcinoma; Advanced Gastroesophageal Junction Adenocarcinoma; Clinical Stage III Gastric Cancer AJCC v8; Clinical Stage III Gastroesophageal Junction Adenocarcinoma AJCC v8; Clinical Stage IV Gastric Cancer AJCC v8; Clinical Stage IV Gastroesophageal Junction Adenocarcinoma AJCC v8; Metastatic Colorectal Carcinoma; Metastatic Digestive System Carcinoma; Metastatic Gastric Carcinoma; Metastatic Gastroesophageal Junction Adenocarcinoma; Stage III Colorectal Cancer AJCC v8; Stage IV Colorectal Cancer AJCC v8

Summary: this phase i trial investigates the best dose, possible benefits and/or side effects of bay 1895344 in combination with folfiri in treating patients with stomach or intestinal cancer that that may have spread from where it first started to nearby tissue, lymph nodes, or distant parts of the body (advanced) or has spread from where it first started (primary site) to other places in the body (metastatic). bay 1895344 may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. chemotherapy drugs, such as irinotecan, fluorouracil, and leucovorin, (called folfiri in short) work in different ways to stop the growth of tumor cells, either by killing the cells, by stopping them from dividing, or by stopping them from spreading. giving bay 1895344 in combination with folfiri may help shrink advanced or metastatic stomach and/or intestinal cancer.

primary objective: i. determine the safety and maximum tolerated dose (mtd) of elimusertib (bay 1895344) with leucovorin calcium, fluorouracil, and irinotecan hydrochloride (folfiri). secondary objectives: i. to observe and record anti-tumor activity by overall response rate (orr), progression-free survival (pfs), and overall survival (os). ii. determine the response and clinical benefit rate (complete response + partial response + stable disease) of bay 1895344 with folfiri in colorectal and gastric/gastroesophageal cancers. iii. evaluate tumor and peripheral blood mononuclear cell (pbmc) deoxyribonucleic acid (dna) damage signaling in the context of the chemotherapy backbone alone and when combined with bay 1895344. iv. evaluate the pharmacokinetics (pk) profile of fluorouracil (5-fu) and irinotecan. v. evaluate the pk profile of bay 1895344. vi. evaluate the relationship between atm status by immunohistochemistry (ihc) and clinical efficacy of the bay 1895344/folfiri combination. exploratory objectives: i. evaluate the exposure-response relationship between drug exposures and toxicity and response, and ugt1a1 genotype. ii. evaluate the relationship between tumor mutations and clinical efficacy of the bay 1895344/folfiri combination. outline: this is a dose-escalation study of elimusertib, irinotecan, and fluorouracil with fixed-dose leucovorin followed by a dose-expansion study. patients receive elimusertib orally (po) once daily (qd) on days 2, 3, 16, and 17 and irinotecan hydrochloride intravenously (iv) over 90 minutes, fluorouracil iv over 46 hours, and leucovorin calcium iv on days 1 and 15. cycles repeat every 28 day in the absence of disease progression or unacceptable toxicity. patients undergo tumor biopsy during screening and on study and blood sample collection and imaging throughout the study. after completion of study treatment, patients are followed up for 30 days and then every 3 months for up to 1 year or until their disease gets worse or they begin a new treatment for their cancer.

Eligibility criteria:
inclusion criteria: * for dose escalation: patients must have histologically or cytologically confirmed advanced or metastatic gastrointestinal (gi) cancers with response evaluation criteria in solid tumors 1.1 (recist1.1) measurable disease who have progressed on at least one prior treatment for metastatic disease and for whom folfiri is considered a reasonable treatment option. patients with mismatch repair deficiency should have progressed on immunotherapy * for dose expansion: patients must have either: * colorectal cancer who have previously progressed on irinotecan and tolerated an irinotecan dose equal to or greater than the recommended phase 2 dose (rp2d). if they have mismatch repair deficiency they should have progressed on immunotherapy or * gastroesophageal cancer who have progressed on at least one first-line therapy for metastatic disease. if they have mismatch repair deficiency they should have progressed on immunotherapy * for dose expansion: patients be willing to undergo biopsies for research purposes only. the accessible tumor can be the primary or metastatic tumor site. both research biopsies should be taken from the same tumor site * patients must have progressive disease on at least first-line therapy for metastatic disease. previous treatment with irinotecan is allowed * age \>= 18 years. because no dosing or adverse event data are currently available on the use of bay 1895344 in combination with folfiri in patients \<18 years of age, children are excluded from this study * eastern cooperative oncology group (ecog) performance status =\< 1 * leukocytes \>= 3,000/mcl * absolute neutrophil count \>= 1,500/mcl * platelets \>= 100,000/mcl * total bilirubin =\< 1.5 x institutional upper limit of normal (uln) * aspartate aminotransferase (ast) (serum glutamic-oxaloacetic transaminase \[sgot\])/alanine aminotransferase (alt) (serum glutamate pyruvate transaminase \[sgpt\]) =\< 3 x institutional uln * glomerular filtration rate (gfr) \>= 60 ml/min/1.73 m\^2 using the chronic kidney disease epidemiology collaboration (ckd-epi) equation * international normalization ratio (inr) =\< 1.5 × uln unless participant is receiving anticoagulant therapy, in which case prothrombin time (pt) or activated partial thromboplastin time (aptt) should be within expected therapeutic range of anticoagulants. if patient has a new diagnosis of venous thromboembolism (vte), then patient should be appropriately anticoagulated with low molecular weight heparin (lmwh) or direct acting oral anticoagulants (doacs) and be clinically stable for at least 1 week post treatment onset * human immunodeficiency virus (hiv)-infected patients on effective anti-retroviral therapy, that does not interact with study therapy, with undetectable viral load within 6 months are eligible for this trial * for patients with evidence of chronic hepatitis b virus (hbv) infection, the hbv viral load must be undetectable on suppressive therapy that does not interact with study therapy, if indicated * patients with a history of hepatitis c virus (hcv) infection must have been treated and cured. for patients with hcv infection who are currently on treatment, they are eligible if they have an undetectable hcv viral load and hcv therapy does not interact with study therapy * patients with treated brain metastases are eligible if follow-up brain imaging after central nervous system (cns)-directed therapy shows no evidence of progression * patients with a prior or concurrent malignancy whose natural history or treatment does not have the potential to interfere with the safety or efficacy assessment of the investigational regimen are eligible for this trial * patients with known history or current symptoms of cardiac disease, or history of treatment with cardiotoxic agents, should have a clinical risk assessment of cardiac function using the new york heart association functional classification. to be eligible for this trial, patients should be class 2b or better * the effects of bay 1895344 on the developing human fetus are unknown. for this reason and because dna-damage response inhibitors agents as well as other therapeutic agents used in this trial, 5-fu and irinotecan, are known to be teratogenic, women of child-bearing potential and men must agree to use adequate contraception (hormonal or barrier method of birth control; abstinence) prior to study entry and for the duration of study participation and for 6 months after completion of bay 1895344 administration * should a woman become pregnant or suspect she is pregnant while she or her partner is participating in this study, she should inform her treating physician immediately. men treated or enrolled on this protocol must also agree to use adequate contraception prior to the study, for the duration of study participation, and 6 months after completion of study treatment administration * ability to understand and the willingness to sign a written informed consent document. participants with impaired decision-making capacity (idmc) who have a legally-authorized representative (lar) and/or family member available will also be eligible exclusion criteria: * patients with a history of prior treatment with an atr inhibitor * patients with a history of other malignancy that could affect compliance with the protocol or interpretation of the results * patients who have had chemotherapy or radiotherapy within 3 weeks (6 weeks for nitrosoureas or mitomycin c) prior to entering the study * patients who have not recovered from adverse events due to prior anti-cancer therapy (i.e., have residual toxicities \> grade 1) with the exception of alopecia * patients who are receiving any other investigational agents * history of hypersensitivity or allergic reactions attributed to compounds of similar chemical or biologic composition to bay 1895344, 5-fu, leucovorin, or irinotecan. patient eligibility can be discussed with the primary investigator (pi) if prior reactions do not seem to warrant excluding the patient * patients receiving any medications that are substrates of cyp3a4 with a narrow therapeutic window or strong inhibitors/inducers of cyp3a4 are ineligible, if they cannot be transferred to alternative medication. because the lists of these agents are constantly changing, it is important to regularly consult a frequently-updated medical reference. as part of the enrollment/informed consent procedures, the patient will be counseled on the risk of interactions with other agents, and what to do if new medications need to be prescribed or if the patient is considering a new over-the-counter medicine or herbal product * patients with uncontrolled intercurrent illness * patients with psychiatric illness/social situations that would limit compliance with study requirements * gastrointestinal pathology or history that adversely impact the ability to take or absorb oral medication * pregnant women are excluded from this study because bay 1895344 as a dna-damage response inhibitor may have the potential for teratogenic or abortifacient effects. because there is an unknown but potential risk for adverse events in nursing infants secondary to treatment of the mother with bay 1895344 breastfeeding should be discontinued if the mother is treated with bay 1895344 and for 4 months after end of treatment. these potential risks may also apply to other agents used in this study * patients who were unable to tolerate prior irinotecan treatment are excluded from this study * patients with a corrected qt (qtc) interval \>= 470 msec are excluded from this study