intravenous and intrathecal nivolumab in treating patients with leptomeningeal disease

Conditions: Acral Lentiginous Melanoma; Central Nervous System Melanoma; Clinical Stage IV Cutaneous Melanoma AJCC v8; Leptomeningeal Neoplasm; Melanocytoma; Metastatic Lung Non-Small Cell Carcinoma; Metastatic Melanoma; Metastatic Mucosal Melanoma; Metastatic Uveal Melanoma; Stage IV Lung Cancer AJCC v8

Summary: this phase i/ib trial studies the side effects and best dose of intrathecal nivolumab, and how well it works in combination with intravenous nivolumab in treating patients with leptomeningeal disease. immunotherapy with monoclonal antibodies, such as nivolumab, may help the body's immune system attack the cancer, and may interfere with the ability of tumor cells to grow and spread.

primary objective: i. to determine the safety and/or recommended dose of intrathecal (it) nivolumab in combination with systemic nivolumab treatment in melanoma and lung cancer with leptomeningeal disease (lmd). secondary objective: i. to assess overall survival with combined intrathecal and systemic administration of nivolumab in this patient population. exploratory objectives: i. compare the immunological effects of this treatment on immune cells in the cerebrospinal fluid (csf) to those observed in the peripheral blood and in non-lmd tumors. ii. evaluation of predictors (clinical, molecular, and/or immune) of the efficacy and safety of this regimen. iii. to assess the effect of nivolumab on subsequent treatment. iv. to compare levels of nivolumab in the csf and peripheral blood. outline: this is a phase i, dose-escalation study followed by a phase ib study. patients receive nivolumab it over 5 minutes on day 1 of every cycle. beginning in cycle 2, patients also receive nivolumab intravenously (iv) over 30 minutes on day 1 (4 hours after the it dose). cycles repeat every 14 days for 18 cycles and then every 28 days (cycles 19 and beyond) in the absence of disease progression or unacceptable toxicity. patients will have csf and blood specimen collection on days 1, 2, 8 of each cycle and end of treatment. patients undergo computed tomography (ct) or positron emission tomography (pet) at baseline, cycle 5 and then every 8 weeks. patients undergo magnetic resonance imaging (mri) at baseline, cycles 3, 5, and then every 8 weeks. after completion of study treatment, patients are followed up within 4 weeks and then every 12 weeks thereafter.

Eligibility criteria:
inclusion criteria: * patients must have radiographic and/or csf cytological evidence of lmd. for patient with melanoma: must have a confirmed diagnosis of primary central nervous system (cns) melanoma, melanocytomas or metastatic melanoma (cutaneous, acral-lentiginous, uveal and mucosal in origin), based on histological analysis of metastatic tissue and/or cancer cells, archival tissue permitted. for patients with lung cancer: non-small cell, based on histological analysis of metastatic tissue and/or cancer cells, archival tissue permitted * patients must have an eastern cooperative oncology group (ecog) performance status (ps) of =\< 2 * patients may receive steroids to control symptoms related to cns involvement, but the dose must be =\< 4 mg per 24 hours of dexamethasone (or the equivalent). physiologic replacement doses for adrenal insufficiency is allowed on this protocol * patients who have received radiation to brain and/or spine, including whole brain radiation, stereotactic radiosurgery, or stereotactic body radiation therapy (sbrt), are eligible, but must have completed radiation treatment at least 7 days prior to the start of treatment * patients who have been treated with an approved targeted therapy (braf inhibitor and/or mek inhibitor) will be allowed to remain on concurrent approved targeted therapy. no other concomitant intrathecal therapy with another agent will be allowed. for patients that have received other systemic therapies, the minimum wash out period is as follows: * patients that received previous it therapy must have received their last treatment \>= 7 days prior to the start of treatment * patients who have received systemic chemotherapy must have received their last treatment \>= 14 days prior to the start of treatment * patients who have received an approved systemic biologic therapy (e.g. anti-pd-1, anti-ctla4, il2, interferon) must have received their last treatment \>= 2 weeks prior to the start of treatment * patients who have received any other investigational agents must have received their last treatment \>= 14 days prior to the start of treatment * for patients with lung cancer: * for chemotherapy: patients do not require a washout period, and can continue with chemotherapy during treatment with it/iv nivolumab * patients who have received an approved systemic biologic therapy (e.g. anti-pd-1, anti-ctla4, il2, interferon) must have received their last treatment \>= 2 weeks prior to the start of treatment * patients who have received any other investigational agents must have received their last treatment \>= 14 days prior to the start of treatment * no other concomitant intrathecal therapy with another agent will be allowed * patients who are receiving treatment to tyrosine kinase inhibitors or other targeted therapy agents do not require a washout period, and can continue with tyrosine kinase inhibitors or other targeted therapy agents during treatment with it/iv nivolumab * age \>= 18 years * capable of giving written informed consent, which includes compliance with the requirements and restrictions listed in the consent form * absolute neutrophil count (anc) \>= 1.5 x 10\^9/l * hemoglobin \>= 9.0 g/dl * platelets \>= 75 x 10\^9/l * prothrombin time (pt)/international normalized ratio (inr) and partial thromboplastin time (ptt) =\< 1.5 x upper limit of normal (uln) * total bilirubin: =\ 1.5 x uln is acceptable if bilirubin is fractionated and direct bilirubin \< 35%) * aspartate aminotransferase (ast) and alanine aminotransferase (alt) =\< 2.5 x uln * albumin \>= 2.5 g/dl * creatinine or =\ = 50 ml/min; 24-hour urine creatinine clearance \>= 50 ml/min * absence of contraindication for ommaya reservoir * women are eligible to participate if: * non-childbearing potential defined as pre-menopausal females with a documented tubal ligation or hysterectomy; or postmenopausal defined as 12 months of spontaneous amenorrhea \[in questionable cases a blood sample with simultaneous follicle stimulating hormone (fsh) \> 40 mlu/ml and estradiol \< 40 pg/ml (\<140 pmol/l) is confirmatory\] * a women of childbearing potential (wocbp) is defined as any female who has experienced menarche and who has not undergone surgical sterilization (hysterectomy or bilateral oophorectomy) and is not postmenopausal. menopause is defined as 12 months of amenorrhea in a woman over age 45 years in the absence of other biological or physiological causes. in addition, females under the age of 55 years must have a serum follicle stimulating hormone, (fsh) level \> 40miu/ml to confirm menopause * females treated with hormone replacement therapy, (hrt) are likely to have artificially suppressed fsh levels and may require a washout period in order to obtain a physiologic fsh level. the duration of the washout period is a function of the type of hrt used. the duration of the washout period below are suggested guidelines and the investigators should use their judgment in checking serum fsh levels. if the serum fsh level is \>40 miu/ml at any time during the washout period, the woman can be considered postmenopausal: * 1 week minimum for vaginal hormonal products (rings, creams, gels) * 4 week minimum for transdermal products * 8 week minimum for oral products * other parenteral products may require washout periods as long as 6 months * a women of childbearing potential agrees to use method(s) of contraception. for a teratogenic study drug and/or when there is insufficient information to assess teratogenicity (preclinical studies have not been done), a highly effective method(s) of contraception (failure rate of less than 1% per year) is required. the individual methods of contraception and duration should be determined in consultation with the investigator. women of childbearing potential (wocbp) must follow instructions for birth control when the half-life of the investigational drug is greater than 24 hours, contraception should be continued for a period of 30 days plus the time required for the investigational drug to undergo five half-lives. the half-life of nivolumab is up to 25 days. wocbp should use an adequate method to avoid pregnancy for 23 weeks (30 days plus the time required for nivolumab to undergo five half-lives) after the last dose of investigational drug. wocbp must have a negative serum or urine pregnancy test (minimum sensitivity 25 iu/l or equivalent units of hcg) within 24 hours prior to the start of investigational product * women must not be breastfeeding * men who are sexually active with wocbp must use any contraceptive method with a failure rate of less than 1% per year the investigator shall review contraception methods and the time period that contraception must be followed. men who are sexually active with wocbp must follow instructions for birth control when the half-life of the investigational drug is greater than 24 hours, contraception should be continued for a period of 90 days plus the time required for the investigational drug to undergo five half-lives. the half-life of nivolumab is up to 25 days. therefore, men who are sexually active with wocbp must continue contraception for 31 weeks (90 days plus the time required for nivolumab to undergo five half-lives) after the last dose of investigational drug * women who are not of childbearing potential (i.e., who are postmenopausal or surgically sterile and azoospermic men do not require contraception exclusion criteria: * patients must not have active autoimmune disease that has required systemic treatment in past 2 years (i.e., with use of disease modifying agents, corticosteroids or immunosuppressive drugs). replacement therapy (e.g., thyroxine, insulin, or physiologic corticosteroid replacement therapy for adrenal or pituitary insufficiency, etc.) is not considered a form of systemic treatment * subjects with a condition requiring systemic treatment with either corticosteroids (\> 4 mg daily dexamethasone equivalents) or other immunosuppressive medications within 14 days of study drug administration. tocilizumab and vedolizumab are permitted, as are inhaled or topical steroids and adrenal replacement doses in the absence of active autoimmune disease * subjects that require premedication with corticosteroids for a contrast allergy are excluded from this restriction and can proceed with enrollment * patients who have previously received alpha-pd-1 and/or anti-ctla-4 will be eligible, unless they have ongoing \> grade 2 adverse event (ae) side effects of such therapy. ongoing physiologic replacement doses for adrenal and thyroid insufficiency are allowed on protocol * currently receiving cancer therapy (chemotherapy, radiation therapy, immunotherapy, or biologic therapy) or investigational anti-cancer drug (concurrent treatment with approved targeted therapies is allowed.) * pregnant or lactating female * subjects with major medical, neurologic or psychiatric condition who are judged as unable to fully comply with study therapy or assessments should not be enrolled * patients with a history of pneumonitis * evidence of active infections =\< 7 days prior to initiation of study drug therapy (does not apply to viral infections that are presumed to be associated with the underlying tumor type required for study entry) * use of non-oncology vaccines containing live virus for prevention of infectious diseases within 12 weeks prior to study drug * any positive test for hepatitis b virus or hepatitis c virus indicating acute or chronic infection * known history of testing positive for human immunodeficiency virus (hiv) or known acquired immunodeficiency syndrome (aids) even if fully immunocompetent on antiretroviral therapy (art)-due to the unknown effects of hiv on the immune response to combined nivolumab or the unique toxicity spectrum of these drugs in patients with hiv * history of allergy to study drug components * history of severe hypersensitivity reaction to any monoclonal antibody * prisoners or subjects who are involuntarily incarcerated * subjects who are compulsorily detained for treatment of either a psychiatric or physical (e.g., infectious disease) illness