testing the effectiveness of two immunotherapy drugs (nivolumab and ipilimumab) with one anti-cancer targeted drug (cabozantinib) for rare genitourinary tumors

Conditions: Bladder Adenocarcinoma; Bladder Clear Cell Adenocarcinoma; Bladder Mixed Adenocarcinoma; Bladder Neuroendocrine Carcinoma; Bladder Small Cell Neuroendocrine Carcinoma; Bladder Squamous Cell Carcinoma; Chromophobe Renal Cell Carcinoma; Collecting Duct Carcinoma; Invasive Bladder Giant Cell Urothelial Carcinoma; Invasive Bladder Lymphoepithelioma-Like Carcinoma; Invasive Bladder Nested Urothelial Carcinoma; Invasive Bladder Plasmacytoid Urothelial Carcinoma; Invasive Bladder Sarcomatoid Urothelial Carcinoma; Invasive Bladder Urothelial Carcinoma; Kidney Medullary Carcinoma; Large Cell Neuroendocrine Carcinoma; Malignant Testicular Leydig Cell Tumor; Malignant Testicular Sertoli Cell Tumor; Metastatic Bladder Carcinoma; Metastatic Bladder Clear Cell (Glycogen-Rich) Urothelial Carcinoma; Metastatic Bladder Giant Cell Urothelial Carcinoma; Metastatic Bladder Large Cell Neuroendocrine Carcinoma; Metastatic Bladder Lipid-Rich Urothelial Carcinoma; Metastatic Bladder Micropapillary Urothelial Carcinoma; Metastatic Bladder Plasmacytoid Urothelial Carcinoma; Metastatic Bladder Sarcomatoid Urothelial Carcinoma; Metastatic Bladder Small Cell Neuroendocrine Carcinoma; Metastatic Bladder Squamous Cell Carcinoma; Metastatic Chromophobe Renal Cell Carcinoma; Metastatic Kidney Medullary Carcinoma; Metastatic Malignant Genitourinary System Neoplasm; Metastatic Papillary Renal Cell Carcinoma; Metastatic Penile Carcinoma; Metastatic Prostate Small Cell Neuroendocrine Carcinoma; Metastatic Sarcomatoid Renal Cell Carcinoma; Metastatic Urethral Carcinoma; Papillary Renal Cell Carcinoma; Sarcomatoid Renal Cell Carcinoma; Stage IV Bladder Cancer AJCC v8; Stage IV Penile Cancer AJCC v8; Stage IV Renal Cell Cancer AJCC v8; Stage IV Urethral Cancer AJCC v8; Stage IVB Prostate Cancer AJCC v8; Urachal Adenocarcinoma; Urethral Clear Cell Adenocarcinoma

Summary: this phase ii trial studies how well cabozantinib works in combination with nivolumab and ipilimumab in treating patients with rare genitourinary (gu) tumors that has spread from where it first started (primary site) to other places in the body. cabozantinib may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. immunotherapy with monoclonal antibodies, such as nivolumab and ipilimumab, may help the body's immune system attack the cancer, and may interfere with the ability of tumor cells to grow and spread. giving cabozantinib, nivolumab, and ipilimumab may work better in treating patients with genitourinary tumors that have no treatment options compared to giving cabozantinib, nivolumab, or ipilimumab alone.

primary objective: i. to evaluate the efficacy of cabozantinib s-malate (cabozantinib) combined with nivolumab and ipilimumab in the first or second-line (and beyond) setting for patients within each of the rare genitourinary (gu) variant histology group of interest, as measured by objective response rate (orr). secondary objectives: i. to estimate the progression-free survival (pfs) for patients treated with cabozantinib combined with nivolumab and ipilimumab within each rare variant histology. ii. to estimate the overall survival (os) for patients treated with cabozantinib combined with nivolumab and ipilimumab within each rare variant histology. iii. to estimate the clinical benefit rate (defined as complete response \[cr\] or partial response \[pr\] or stable disease \[sd\]) for patients treated with cabozantinib combined with nivolumab and ipilimumab within each rare variant histology. iv. to assess the safety of treating patients with rare variant histologies with cabozantinib combined with nivolumab and ipilimumab. v. to support tissue banking and collection of clinical follow-up data for gu tract rare histological variants. exploratory objective: i. to assess effects of treatment in patients with bone-only disease by bone scan. outline: patients receive cabozantinib orally (po) once daily (qd) on days 1-21 of cycles 1-4 and on days 1-28 of subsequent cycles. patients also receive nivolumab intravenously (iv) over 30 minutes on day 1 and ipilimumab iv over 90 minutes on day 1 of cycles 1-4. patients then receive nivolumab iv over 30 minutes on day 1 of subsequent cycles. treatment repeats every 21 days for cycles 1-4 and every 28 days for subsequent cycles for 2 years in the absence of disease progression or unacceptable toxicity. patients may undergo echocardiography during screening and undergo computed tomography (ct) or magnetic resonance imaging (mri), bone scan and blood and urine sample collection throughout the trial and may undergo positron emission tomography (pet)/ct throughout the trial. after completion of study treatment, patients are followed up every 2 months for up to 5 years.

Eligibility criteria:
inclusion criteria: * metastatic disease defined as new or progressive lesions on cross-sectional imaging or bone scan. patients must have at least: * one measurable site of disease as per response evaluation criteria in solid tumors (recist) version (v) 1.1 * one bone lesion on bone scan (tec99 or sodium fluoride \[naf\] pet/ct, ct or mri) for the bone-only cohort. * histologically confirmed diagnosis of one of the following metastatic cohorts: * small cell/ neuroendocrine carcinoma of the bladder (cohort a)- all urothelial carcinomas with any amount of neuroendocrine differentiation (including small cell differentiation) will be included. if the tumor is purely neuroendocrine, metastasis from another site of origin should be clinically excluded * adenocarcinoma of the bladder, or urachal adenocarcinoma, or bladder/urethra clear cell adenocarcinoma (cohort b) - must be pure (per world health organization \[who\] definition), (i.e. urothelial carcinoma with glandular differentiation is not considered a pure adenocarcinoma * squamous cell carcinoma of the bladder (cohort c) - must be pure (i.e. urothelial carcinoma with squamous differentiation is not considered a pure squamous cell carcinoma) * plasmacytoid urothelial carcinoma (cohort d) - tumor should show predominantly \> or equal \~ 50% plasmacytoid histology (including all types of discohesive growth, such as tumors with signet-ring and/or rhabdoid features as well) * any penile cancer (cohort e) * sarcomatoid renal cell carcinoma (cohort f) - tumor should be predominantly sarcomatoid \~ 50% (including rhabdoid differentiation) is also unclassified renal cell carcinomas (rccs): all (assuming they are high grade with metastasis) malignant angiomyolipomas are allowed * other miscellaneous histologic variants of the urothelial carcinoma, such as, but not limited to (cohort g) : micropapillary (tumor should show predominantly \> or equal 50% micropapillary architecture), giant cell, lipid-rich, clear cell and nested variants (tumor should predominantly \> or equal 50% show these features), large cell neuroendocrine carcinoma, lymphoepithelioma-like carcinoma and mixed patterns will be considered, as well as small cell neuroendocrine prostate cancer (only treatment-naïve primary small cell of prostate with any amount of small cell component allowed. post-treatment small cell prostatic carcinomas are not allowed), malignant testicular sertoli or leydig cell tumors, and papillary and chromophobe rcc * note: translocation positive renal cell carcinoma patients are eligible. however, aren1721 should be considered before this trial * sarcomatoid urothelial carcinoma (cohort h) - tumor should show predominantly \~ 50% sarcomatoid differentiation * renal medullary carcinoma (cohort i) - per world health organization (who) definition, ideally confirmed with immunostains * bone-only metastatic gu tumors (non-prostate) (cohort j) - all genitourinary histologies, except prostate are eligible * renal collecting duct carcinoma (cohort k) - per who definition (medullary involvement, predominant tubular morphology, desmoplastic stromal reaction, high grade cytology, infiltrative growth pattern, and absence of other renal cell carcinoma subtype or urothelial carcinoma) * urethra carcinoma (cohort l) - may be of any histology but if urothelial carcinoma then must be isolated to the urethra and not have metachronous or synchronous urothelial carcinoma of the bladder * h\&e slides from diagnostic tumor tissue for retrospective central pathology review * patients may have received up to 2 systemic anti-cancer treatments or be treatment naive. patients with small cell carcinoma should have received a platinum-based combination regimen either as neoadjuvant, adjuvant or first-line treatment). patients in the bone-only cohort may be urothelial carcinoma histology but must receive standard cisplatin-based chemotherapy (if cisplatin-eligible) * age \>= 18 years * patients must be able to swallow oral formulation of the tablets * karnofsky performance status \>= 80% * absolute neutrophil count (anc) \>= 1,000/mcl * platelet count \>= 75,000/mcl * total bilirubin =\< 1.5 x upper limit of normal (uln). for subjects with known gilbert's disease or similar syndrome with slow conjugation of bilirubin, total bilirubin =\< 3.0 mg/dl * aspartate aminotransferase (ast)/alanine aminotransferase (alt) =\< 3.0 x institutional upper limit of normal (uln) (or =\< 5 x uln for patients with liver metastases or gilbert's disease) * creatinine =\ = 40 ml/min/1.73 m\^2 (calculated using the chronic kidney disease epidemiology \[ckd-epi\] equation or cockcroft-gault formula) for patients with creatinine levels above institutional normal * hemoglobin \>= 9 g/dl (transfusion of packed red blood cells \[prbcs\] allowed) * serum albumin \>= 3.2 g/dl * lipase and amylase =\< 2.0 x uln and no radiologic (on baseline anatomical imaging) or clinical evidence of pancreatitis * prior treatment with met or vegfr inhibitors is allowed. however, prior cabozantinib will not be allowed. also, patients that have received both prior met or vegf and prior pd-1/pd-l1/ctla-4 (sequentially or in combination) are also not allowed * no prior treatment with any therapy on the pd-1/pd-l1 axis or anti- ctla-4/ctla-4 inhibitors with the exception of patients with "urothelial carcinoma" histology (cohorts d, h, j, l) * human immunodeficiency virus (hiv)-positive patients are eligible if on stable dose of highly active antiretroviral therapy (haart), no clinically significant drug-drug interactions are anticipated with the current haart regimen, cd4 counts are greater than 350 and viral load is undetectable * patients with rheumatoid arthritis and other rheumatologic arthropathies, sjogren's syndrome and psoriasis controlled with topical medication only and patients with positive serology, such as antinuclear antibodies (ana), anti-thyroid antibodies etc. are eligible but should be considered for rheumatologic evaluation for the presence of target organ involvement and potential need for systemic treatment * patients with vitiligo, endocrine deficiencies including thyroiditis managed with replacement hormones or medications (e.g. thyroiditis managed with propylthiouracil \[ptu\] or methimazole) including physiologic oral corticosteroids are eligible * patients who have evidence of active or acute diverticulitis, intra-abdominal abscess, and gastrointestinal (gi) obstruction, within 12 months are not eligible * women of childbearing potential must have a negative pregnancy test =\< 7 days prior to registration * women of childbearing potential include women who have experienced menarche and who have not undergone successful surgical sterilization (hysterectomy, bilateral tubal ligation, or bilateral oophorectomy) or are not postmenopausal. post menopause is defined as amenorrhea \>= 12 consecutive months. note: women who have been amenorrheic for 12 or more months are still considered to be of childbearing potential if the amenorrhea is possibly due to prior chemotherapy, antiestrogens, ovarian suppression or any other reversible reason * pregnant women may not participate in this study because with cabozantinib, nivolumab, and ipilimumab have 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 cabozantinib, nivolumab, and ipilimumab, breastfeeding should be discontinued if the mother is treated with these agents * the patient has received no cytotoxic chemotherapy (including investigational cytotoxic chemotherapy) or biologic agents (e.g., cytokines or antibodies) within 2 weeks before the first dose of study treatment * the patient has received no radiation therapy: * to the lungs and mediastinum or abdomen within 4 weeks before the first dose of study treatment, or has ongoing complications, or is healing from prior radiation therapy * to brain metastasis within 3 weeks for whole-brain radiotherapy (wbxrt), and 2 weeks for stereotactic body radiation therapy (sbrt) before the first dose of study treatment * to the abdomen within 4 weeks before the first dose of study treatment, or has ongoing complications, or is healing from prior radiation therapy * to any other site(s) within 2 weeks before the first dose of study treatment * the patient has received no radionuclide treatment within 6 weeks of the first dose of study treatment * the patient has received no prior treatment with a small molecule kinase inhibitor within 14 days or five half-lives of the compound or active metabolites, whichever is longer, before the first dose of study treatment * the patient has received no prior treatment with hormonal therapy within 14 days or five half-lives of the compound or active metabolites, whichever is longer, before the first dose of study treatment. subjects receiving gonadotropin-releasing hormone (gnrh) agonists and antagonists are allowed to participate * the patient has not received any other type of investigational agent within 14 days before the first dose of study treatment * the patient must have recovered to baseline or common terminology criteria for adverse events (ctcae) =\< grade 1 from toxicity due to all prior therapies except alopecia, neuropathy and other non-clinically significant adverse events (aes) defined as lab elevation with no associated symptoms or sequelae * the patient may not have active brain metastases or epidural disease. patients with brain metastases previously treated with whole brain radiation or radiosurgery who are asymptomatic and do not require steroid treatment for at least 2 weeks before starting study treatment are eligible. neurosurgical resection of brain metastases or brain biopsy is permitted if completed at least 3 months before starting study treatment. baseline brain imaging with contrast-enhanced ct or mri scans for subjects with known brain metastases is required to confirm eligibility * no concomitant treatment with warfarin. aspirin (up to 325 mg/day), thrombin or factor xa inhibitors, low-dose warfarin (=\< 1 mg/day), prophylactic and therapeutic low molecular weight heparin (lmwh) are permitted * no chronic concomitant treatment with strong cyp3a4 inducers (e.g., dexamethasone, phenytoin, carbamazepine, rifampin, rifabutin, rifapentine, phenobarbital, and st. john's wort) or strong cyp3a4 inhibitors * because the lists of these agents are constantly changing, it is important to regularly consult medical reference texts such as the physicians' desk reference may also provide this information. 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 * the patient has not experienced any of the following: * clinically-significant gastrointestinal bleeding within 6 months before the first dose of study treatment * hemoptysis of \>= 0.5 teaspoon (2.5 ml) of red blood per day within 1 months before the first dose of study treatment * any other signs indicative of pulmonary hemorrhage within 3 months before the first dose of study treatment * the patient has no tumor invading any major blood vessels * the patient has no evidence of tumor invading the gi tract (esophagus, stomach, small or large bowel, rectum or anus), or any evidence of endotracheal or endobronchial tumor within 28 days before the first dose of cabozantinib. patients with rectal tumor masses are not eligible * the patient has no uncontrolled, significant intercurrent or recent illness including, but not limited to, the following conditions: * cardiovascular disorders including: * congestive heart failure (chf): new york heart association (nyha) class iii (moderate) or class iv (severe) at the time of screening. * concurrent uncontrolled hypertension defined as sustained blood pressure (bp) \> 150 mm hg systolic, or \> 90 mm hg diastolic despite optimal antihypertensive treatment within 7 days of the first dose of study treatment * the subject has a corrected qt interval calculated by the fridericia formula (qtcf) \> 500 ms within 28 days before randomization. note: if initial qtcf is found to be \> 500 ms, two additional electrocardiograms (ekgs) separated by at least 3 minutes should be performed. if the average of these three consecutive results for qtcf is =\< 500 ms, the subject meets eligibility in this regard * any history of congenital long qt syndrome * any of the following within 6 months before registration of study treatment: * unstable angina pectoris * clinically-significant cardiac arrhythmias (patients with atrial fibrillation are eligible) * stroke (including transient ischemic attack \[tia\], or other ischemic event) * myocardial infarction * cardiomyopathy * no significant gastrointestinal disorders particularly those associated with a high risk of perforation or fistula formation including: * any of the following that have not resolved within 28 days before the first dose of study treatment: * active peptic ulcer disease * acute diverticulitis, cholecystitis, symptomatic cholangitis or appendicitis, or malabsorption syndrome * none of the following within 2 years before the first dose of study treatment: * abdominal fistula or genitourinary fistula * gastrointestinal perforation * bowel obstruction or gastric outlet obstruction * intra-abdominal abscess. note: complete resolution of an intra-abdominal abscess must be confirmed prior to initiating treatment with cabozantinib even if the abscess occurred more than 2 years before the first dose of study treatment * disorders associated with a high risk of fistula formation including percutaneous endoscopic gastrostomy (peg) tube placement are not eligible * no other clinically significant disorders such as: * severe active infection requiring iv systemic treatment within 14 days before the first dose of study treatment * serious non-healing wound/ulcer/bone fracture within 28 days before the first dose of study treatment * history of organ or allogeneic stem cell transplant * concurrent uncompensated hypothyroidism or thyroid dysfunction within 7 days before the first dose of study treatment (for asymptomatic patients with an elevated thyroid-stimulating hormone \[tsh\], thyroid replacement may be initiated if clinically indicated without delaying the start of study treatment) * no history of major surgery as follows: * major surgery within 3 months of the first dose of cabozantinib; however, if there were no wound healing complications, patients with rapidly growing aggressive cancers, may start as soon as 6 weeks if wound has completely healed post-surgery * minor surgery within 1 month of the first dose of cabozantinib if there were no wound healing complications or within 3 months of the first dose of cabozantinib if there were wound complications excluding core biopsies and mediport placement * complete wound healing from prior surgery must be confirmed before the first dose of cabozantinib irrespective of the time from surgery * no history of severe hypersensitivity reaction to any monoclonal antibody * no evidence of active malignancy, requiring systemic treatment within 2 years of registration * no history of allergic reactions attributed to compounds of similar chemical or biologic composition to cabozantinib, nivolumab, ipilimumab or other agents used in study * no positive test for hepatitis b virus surface antigen (hbv sag) or hepatitis c virus ribonucleic acid (hcv antibody) indicating acute or chronic infection. if hbv sag is positive, subsequent ribonucleic acid (rna) polymerase chain reaction (pcr) must be negative * no patients with active autoimmune disease or history of autoimmune disease that might recur, which may affect vital organ function or require immune suppressive treatment including systemic corticosteroids. these include, but are not limited to patients with a history of immune related neurologic disease, multiple sclerosis, autoimmune (demyelinating) neuropathy, guillain-barre syndrome, myasthenia gravis; systemic autoimmune disease such as systemic lupus erythematosus (sle), connective tissue diseases, scleroderma, inflammatory bowel disease (ibd), crohn's, ulcerative colitis, hepatitis; and patients with a history of toxic epidermal necrolysis (ten), stevens-johnson syndrome, or phospholipid syndrome should be excluded because of the risk of recurrence or exacerbation of disease