pembrolizumab in treating patients with relapsed or refractory stage ib-ivb mycosis fungoides or sezary syndrome

Conditions: Recurrent Mycosis Fungoides and Sezary Syndrome; Refractory Mycosis Fungoides and Sezary Syndrome; Stage IB Mycosis Fungoides and Sezary Syndrome AJCC v7; Stage IIA Mycosis Fungoides and Sezary Syndrome AJCC v7; Stage IIB Mycosis Fungoides and Sezary Syndrome AJCC v7; Stage IIIA Mycosis Fungoides and Sezary Syndrome AJCC v7; Stage IIIB Mycosis Fungoides and Sezary Syndrome AJCC v7; Stage IVA Mycosis Fungoides and Sezary Syndrome AJCC v7; Stage IVB Mycosis Fungoides and Sezary Syndrome AJCC v7

Summary: this phase ii trial studies how well pembrolizumab works in treating patients with stage ib-ivb mycosis fungoides or sezary syndrome that has returned after a period of improvement or has not responded to at least one type of treatment. monoclonal antibodies, such as pembrolizumab, may block cancer growth in different ways by targeting certain cells.

primary objectives: i. to assess the response rate of mk-3475 (pembrolizumab) in subjects with relapsed/refractory mycosis fungoides/sezary syndrome (mf/ss). secondary objectives: i. to explore the clinical activity of mk-3475 in subjects with relapsed/refractory mf and ss with respect to the following endpoints: duration of response (dor); progression-free survival (pfs); overall survival (os). outline: patients receive pembrolizumab intravenously (iv) over 30 minutes on day 1. courses repeat every 3 weeks for up to 2 years (6 months for patients achieving complete response \[cr\]) in the absence of disease progression or unacceptable toxicity. after completion of study treatment, patients are followed up for 30 days and then every 12 weeks.

Eligibility criteria:
inclusion criteria: * this trial will include subjects with stage ib-ivb mf/ss (maximal stage since diagnosis will determine eligibility), and who have relapsed, are refractory, or progressed after at least one standard systemic therapy; current disease stage at time of entry will also be documented but will not be used for eligibility * subjects must have the following minimum wash-out and adverse event (ae) recovery period from previous treatments without treatment between documentation of relapse/progression and enrollment of specifically: * \>= 2 weeks for local radiation therapy * \>= 4 weeks for systemic cytotoxic anticancer agents, anticancer investigational agents that are not defined as immunotherapy, or for tumor-targeting monoclonal antibodies (mabs) with the exception of alemtuzumab for which the washout is at least 8 weeks * \>= 15 weeks for anti-cluster of differentiation (cd)137 or anti-cytotoxic t-lymphocyte-associated protein 4 (ctla-4) (including ipilimumab or any other antibody or drug specifically targeting t-cell co-stimulation or checkpoint pathways) * \>= 2 weeks from resolution (i.e., =\< grade 1 or at baseline) from aes due to procedures performed or therapeutic agents administered * \>= 2 weeks for retinoids, interferons, vorinostat, romidepsin, denileukin diftitox, and therapeutic doses of oral corticosteroids (physiologic replacement doses of oral corticosteroids are allowed, topical corticosteroids are allowed) * \>= 2 weeks for phototherapy * \>= 1 week for topical therapy (including retinoid, nitrogen mustard, or imiquimod) * have a performance status of 0 or 1 on the eastern cooperative oncology group (ecog) performance scale * life expectancy of at least 6 months * performed within 10 days of treatment initiation: leukocytes \>= 2,000/mcl * performed within 10 days of treatment initiation: absolute neutrophil count \>= 1,500/mcl * performed within 10 days of treatment initiation: platelets \>= 100,000/mcl * performed within 10 days of treatment initiation: hemoglobin \>= 9 g/dl or \>= 5.6 mmol/l * performed within 10 days of treatment initiation: serum total bilirubin =\ 1.5 uln * performed within 10 days of treatment initiation: aspartate aminotransferase (ast) (serum glutamic oxaloacetic transaminase \[sgot\]) and alanine aminotransferase (alt) (serum glutamate pyruvate transaminase \[sgpt\]) =\< 2.5 x uln or =\< 5 x uln for patients with liver metastases * performed within 10 days of treatment initiation: serum creatinine =\ = 60 ml/min for subject with creatinine clearance (crcl) levels \> 1.5 x institutional uln (glomerular filtration rate \[gfr\] can also be used in place of creatinine or crcl) * performed within 10 days of treatment initiation: international normalized ratio (inr) or prothrombin time (pt) =\< 1.5 x uln unless subject is receiving anticoagulant therapy in which case the inr or pt must be within the therapeutic range of intended use for the anticoagulant * performed within 10 days of treatment initiation: activated partial thromboplastin time (aptt) =\< 1.5 x uln unless subject is receiving anticoagulant therapy in which case the aptt must be within the therapeutic range of intended use for the anticoagulant * performed within 10 days of treatment initiation: thyroid stimulating hormone (tsh) within institutional limits (ie: normal); if tsh is greater or less than institutional limits patients may participate if their thyroxine (t4) is within normal limits (wnl); patients may be on a stable dose of replacement thyroid medication; dose adjustments are allowed if needed * patients must provide tissue from a punch biopsy of the skin at baseline, at the time of a clinical event (at the time of response, progression or appearance of a new lesion) and at the end of treatment; additional punch biopsies every 3 cycles are optional; an archival tissue sample is optional * have measurable disease based on modified severity-weighted assessment tool (mswat); tumor lesions situated in a previously irradiated area are considered measurable if progression has been demonstrated in such lesions * women of child-bearing potential and men must agree to use adequate contraception (hormonal or barrier method of birth control; abstinence) from the time of the pre-study visit, through the course of the study and for 120 days after the last dose of study medication * female patients of childbearing potential should have a negative urine or serum pregnancy within 72 hours prior to receiving the first dose of study medication; if the urine test is positive or cannot be confirmed as negative, a serum pregnancy test will be required * female patients of childbearing potential should be willing to use 2 methods of birth control or be surgically sterile, or abstain from heterosexual activity from the time of the pre-study visit, through the course of the study and for 120 days after the last dose of study medication; patients of childbearing potential are those who have not been surgically sterilized or have not been free from menses for \> 1 year * should a woman become pregnant or suspect she is pregnant while she 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 4 months after completion of mk-3475 administration * ability to understand and the willingness to sign a written informed consent document exclusion criteria: * patients who have had chemotherapy or targeted small molecule therapy within 4 weeks (6 weeks for nitrosoureas or mitomycin c) prior to entering the study or those who have not recovered from adverse events due to agents administered more than 4 weeks earlier * note: patients with =\< grade 2 neuropathy are an exception to this criterion and may qualify for the study * note: if patients received major surgery, they must have recovered adequately from the toxicity and/or complications from the intervention prior to starting therapy * patients who are currently participating in or have participated in a study of an investigational agent or using an investigational device within 4 weeks of the first dose of treatment * has a diagnosis of immunodeficiency or is receiving therapeutic systemic steroid therapy or any other form of immunosuppressive therapy within 7 days prior to the first dose of trial treatment * has had a prior monoclonal antibody within 4 weeks prior to study day 1 or who has not recovered (i.e., =\< grade 1 or at baseline) from aes due to agents administered more than 4 weeks earlier * has a known additional malignancy that is progressing or requires active treatment; exceptions include basal cell carcinoma of the skin, squamous cell carcinoma of the skin, or in situ cervical cancer that has undergone potentially curative therapy * patients with known brain metastases should be excluded from this clinical trial * patients with carcinomatous meningitis should also be excluded * patients with previously treated brain metastases may participate provided they are stable (without evidence of progression by imaging for at least 4 weeks prior to the first dose of trial treatment and any neurologic symptoms have returned to baseline), have no evidence of new or enlarging brain metastases, and are not using steroids for at least 7 days prior to trial treatment * history of allergic reactions attributed to compounds of similar chemical or biologic composition to mk-3475 * has an active autoimmune disease requiring systemic treatment within the past 3 months or a documented history of clinically severe autoimmune disease, or a syndrome that requires systemic steroids or immunosuppressive agents; patients with vitiligo or resolved childhood asthma/atopy would be an exception to this rule; patients that require intermittent use of bronchodilators or local steroid injections would not be excluded from the study; the use of physiologic doses of corticosteroids may be approved after consultation with the protocol principal investigator (pi) and cancer immunotherapy trials network (citn); patients with hypothyroidism stable on hormone replacement or sjogren's syndrome will not be excluded from the study * has a history or current evidence of any condition, therapy, or laboratory abnormality that might confound the results of the trial, interfere with the patient's participation for the full duration of the trial, or is not in the best interest of the patient to participate, in the opinion of the treating investigator * has known psychiatric or substance abuse disorders that would interfere with cooperation with the requirements of the trial * has received prior therapy with an anti-programmed cell death (pd)-1, anti-pd-ligand (l)1, anti-pd-l2 * uncontrolled intercurrent illness including, but not limited to, ongoing or active infection, interstitial lung disease or active, non-infectious pneumonitis, symptomatic congestive heart failure, unstable angina pectoris, cardiac arrhythmia, or psychiatric illness/social situations that would limit compliance with study requirements * history of other pulmonary disease such as emphysema or chronic obstructive pulmonary disease, (forced expiratory volume in one second \[fev1\] \< 60% of predicted for height and age); pulmonary function tests (pfts) are required in patients with prolonged smoking history or symptoms of respiratory dysfunction * is pregnant or breastfeeding, or expecting to conceive or father children within the projected duration of the trial, starting with the pre-study visit through 120 days after the last dose of trial treatment; breastfeeding should be discontinued if the mother is treated with mk-3475 * men and non-pregnant, non-breast-feeding women may be enrolled if they are willing to use 2 methods of birth control or are considered highly unlikely to conceive; highly unlikely to conceive is defined as 1) surgically sterilized, or 2) postmenopausal (a woman who is \>= 45 years of age and has not had menses for greater than 1 year will be considered postmenopausal), or 3) not heterosexually active for the duration of the study; the two birth control methods can be barrier method or a barrier method plus a hormonal method to prevent pregnancy; patients should start using birth control from the time of the pre-study visit, through the course of the study and for 120 days after the last dose of study medication; the following are considered adequate barrier methods of contraception: diaphragm, condom (by the partner), copper intrauterine device, sponge, or spermicide; appropriate hormonal contraceptives will include any registered and marketed contraceptive agent that contains an estrogen and/or a progestational agent (including oral, subcutaneous, intrauterine, or intramuscular agents) * patients should be informed that taking the study medication may involve unknown risks to the fetus (unborn baby) if pregnancy were to occur during the study; in order to participate in the study they must adhere to the contraception requirement (described above) for the duration of the study and during the follow-up period; if there is any question that a patient will not reliably comply with the requirements for contraception, that patient should not be entered into the study * if a patient inadvertently becomes pregnant while on treatment with mk-3475, the patient will immediately be removed from the study; the site will contact the patient at least monthly and document the patient's status until the pregnancy has been completed or terminated; the outcome of the pregnancy will be reported without delay and within 24 hours if the outcome is a serious adverse experience (e.g., death, abortion, congenital anomaly, or other disabling or life-threatening complication to the mother or newborn); the study investigator will make every effort to obtain permission to follow the outcome of the pregnancy and report the condition of the fetus or newborn; if a male patient impregnates his female partner the study personnel at the site must be informed immediately and the pregnancy reported and followed * patients who are human immunodeficiency virus (hiv) positive may participate if they meet the following eligibility requirements: * they must be stable on their anti-retroviral regimen, and they must be healthy from an hiv perspective * they must have a cd4 count of greater than 250 cells/mcl * they must not be receiving prophylactic therapy for an opportunistic infection * has known active hepatitis b (e.g., hepatitis b surface antigen \[hbsag\] reactive) or hepatitis c (e.g., hepatitis c virus \[hcv\] ribonucleic acid \[rna\] \[qualitative\] is detected) * has received a live vaccine within 30 days prior to the first dose of trial treatment * has a known human t-lymphotropic virus type 1 (htlv) infection * patient has a history of (non-infectious) pneumonitis that required steroids or current pneumonitis