pembrolizumab and decitabine with or without venetoclax in treating patients with acute myeloid leukemia or myelodysplastic syndrome that is newly-diagnosed, recurrent, or refractory

Conditions: Acute Myeloid Leukemia; Myelodysplastic Syndrome; Recurrent Acute Myeloid Leukemia; Recurrent Myelodysplastic Syndrome; Refractory Acute Myeloid Leukemia; Refractory Myelodysplastic Syndrome

Summary: this phase ib trial studies the side effects and best dose of pembrolizumab and how well it works in combination with decitabine with or without venetoclax in treating patients with acute myeloid leukemia or myelodysplastic syndrome that is newly-diagnosed, has come back (recurrent), or does not respond to treatment (refractory). immunotherapy with monoclonal antibodies, such as pembrolizumab, may help the body's immune system attack the cancer, and may interfere with the ability of tumor cells to grow and spread. decitabine is in a class of medications called hypomethylation agents. it works by helping the bone marrow produce normal blood cells and by killing abnormal cells in the bone marrow. venetoclax is in a class of medications called b-cell lymphoma-2 (bcl-2) inhibitors. it may stop the growth of cancer cells by blocking bcl-2, a protein needed for cancer cell survival. this trial may help doctors find the best dose of pembrolizumab that can be safely given in combination with decitabine with or without venetoclax, and to determine what side effects are seen with this treatment.

primary objectives: i. assess the safety and tolerability of pembrolizumab combined with decitabine, with or without the addition of venetoclax (treatment cohorts 1 and 2), by evaluation of toxicities including: type, frequency, severity, attribution, time course and duration. (acute myeloid leukemia \[aml\] arm) ii. assess the safety and tolerability of pembrolizumab combined with decitabine, by evaluation of toxicities including: type, frequency, severity, attribution, time course and duration. (myelodysplastic syndrome \[mds\] arm) iii. determine the maximum tolerated dose(s)/schedule (mtd) and recommended phase 2 dose(s)/ schedule (rp2d) within each treatment arm/cohort. iii. obtain preliminary estimates of complete remission (cr/cr with incomplete hematologic recovery \[cri\]) rate(s) within each treatment arm/cohort. secondary objectives: i. obtain estimates of remission duration and survival probabilities (overall and progression-free) at 2 years. ii. explore the possible association between pre-treatment pd-1, pd-l1, and pd-l2 and clinical response. iii. evaluate change in pd-1, pd-l1, pd-l2 levels as a result of the combination therapy. iv. explore the possible association between specific t cell subsets (e.g. cd4 t regulatory cells, t naive, effector and memory cells), other immunological correlatives (e.g. t-cell receptor \[tcr\] repertoire analysis) including post-treatment changes, and clinical response to combination therapy. outline: patients are assigned to 1 of 2 arms. arm i: patients with aml are assigned to 1 of 2 cohorts. cohort i: patients receive pembrolizumab intravenously (iv) over 30 minutes on days 1 and 22 and decitabine iv over 1 hour on days 1-10. patients who achieve a cr receive decitabine on days 1-5. treatment repeats every 42 days for up to 8 cycles or 1 year from start of therapy, whichever comes first, in the absence of disease progression or unacceptable toxicity. cohort ii: patients with pembrolizumab iv over 30 minutes on days 1 and 22 and decitabine iv over 1 hour on days 1-10 or 1-5. patients who achieve a cr receive decitabine on days 1-5. patients also receive venetoclax orally (po) once daily (qd) on days 1-14. treatment repeats every 42 days for up to 8 cycles or 1 year from start of therapy, whichever comes first, in the absence of disease progression or unacceptable toxicity. arm ii: patients with mds receive pembrolizumab iv over 30 minutes on days 1 and 22 and decitabine over 1 hour on days 1-5. treatment repeats every 42 days for up to 8 cycles or 1 year from start of therapy, whichever comes first, in the absence of disease progression or unacceptable toxicity. after completion of study treatment, patients who have discontinued therapy and have not progressed are followed up at 6, 12, and 24 months post-start of treatment. patients who progress during treatment are followed up every 3 months for 2 years.

Eligibility criteria:
inclusion criteria: * documented informed consent of the participant and/or legally authorized representative * agreement to allow the use of archival blood samples and marrow from diagnostic tumor biopsies. if unavailable, exceptions may be granted with study principal investigator (pi) approval * eastern cooperative oncology group (ecog) status =\< 1 * histologically confirmed aml (not including acute promyelocytic leukemia) or mds * patients with the following diagnoses * refractory/relapsed aml by world health organization (who) classification, who are not candidates for allogeneic stem cell transplantation or potentially curative chemotherapy (extramedullary disease is allowed). * mds by who classification who have failed to respond or relapsed after previous therapies * must have a life expectancy of \>= 3 months * fully recovered (=\< grade 1) from the acute toxic effects (except alopecia) or complications of prior anti-cancer therapy, including surgery * cannot be a candidate for allogeneic hematopoietic cell transplantation (allohct) within 90 days of starting treatment on the protocol and should be off pembrolizumab for at least 30 days to become eligible for allohct post-protocol therapy * white blood cells (wbc) =\< 25 x 10\^9/l prior to initiation of venetoclax. cytoreduction with hydroxyurea prior to treatment and/or during cycles 1 and/or 2 may be required * total bilirubin =\< 2 x upper limit of normal (uln) (unless has gilbert's disease) * aspartate aminotransferase (ast) and alanine aminotransferase (alt) =\< 2.5 x uln * creatinine clearance of \> 30 ml/min per 24-hour urine test or the cockcroft-gault formula * international normalized ratio (inr) or prothrombin time (pt) =\< 1.5 x uln * activated partial thromboplastin time (aptt) =\< 1.5 x uln * left ventricular ejection fraction (lvef) \>= 50% * pulmonary function tests diffusion capacity of the lung for carbon monoxide (dlco) (adjusted for hemoglobin) \> 50% predicted * corrected qt (qtc) =\< 480 ms, note: electrocardiogram (ecg) (single-read) to be performed within 14 days prior to day 1 of protocol therapy * seronegative for human immunodeficiency virus (hiv) antigen (ag)/antibody (ab) combo, hepatitis c virus (hcv), and active hepatitis b virus (hbv) (surface antigen negative) * if positive, hepatitis c ribonucleic acid (rna) quantitation must be performed * meets other institutional and federal requirements for infectious disease titer requirements * note: infectious disease testing to be performed within 28 days prior to day 1 of protocol therapy * women of childbearing potential (wocbp): negative urine or serum pregnancy test * agreement by males and females of childbearing potential to use an effective birth control method of low user dependency or abstain from heterosexual activity from 4 weeks prior to first dose of treatment throughout the study treatment period and 3 (males) to 4 (females) months from the last dose of treatment * childbearing potential is defined as not being surgically sterilized (men and women) or have not been free from menses for \> 1 year (women only) * also, male subjects should refrain from sperm donation from the start of treatment throughout the study treatment period and for 6 months following the last dose of treatment exclusion criteria: * previous allogeneic cell transplantation * previous treatment with pembrolizumab * previously refractory to treatment with decitabine + venetoclax (i.e. progressed through therapy without first attaining at least a partial response) * systemic steroid therapy or any other form of immunosuppressive medication * received a live-virus or live-attenuated virus vaccination within 30 days of planned treatment start. administration of killed vaccines is allowed * prior treatment with any other anti-programmed cell death protein-1 (anti-pd-1), or pd ligand-1 (pd-l1) or pd ligand-2 (pd-l2) agent or an antibody targeting other immuno-regulatory receptors or mechanisms * prior therapy with an anti-cd137, anti-ctla-4 antibody (including ipilimumab), denosumab or any other antibody or drug specifically targeting t-cell co-stimulation or checkpoint pathways * current or planned use of other investigational agents, antineoplastic, biological or chemotherapeutic agents during the study treatment period, or within 4 weeks or five half-lives, whichever is shorter, prior to day 1 of protocol therapy with the following exception: * hydroxyurea is allowed prior to treatment with venetoclax and through cycle 2 for control of rapidly progressing leukemia * strong or moderate cyp3a4 inducers within 14 days prior to day 1 of venetoclax * grapefruit, grapefruit products, seville oranges (including marmalade containing seville oranges) or star fruit consumed within 3 days prior to the first dose of venetoclax * has received prior radiotherapy within 2 weeks of start of study intervention. participants must have recovered from all radiation-related toxicities, not require corticosteroids, and not have had radiation pneumonitis. a 1-week washout is permitted for palliative radiation (=\<2 weeks of radiotherapy) to non-central nervous system (cns) disease * concurrent use of corticosteroids (exception: nasal or topical corticosteroids or physiologic levels for steroid replacement are allowed) * granulocyte-macrophage colony-stimulating factor (gmcsf) or granulocyte colony stimulating factor (gcsf) within 7 days prior to start of study treatment * history of allergic reactions attributed to compounds of similar chemical or biologic composition to study agent * severe hypersensitivity reaction to treatment with another monoclonal antibody (mab) * active central nervous system (cns) disease * the following cardiac conditions: * unstable angina * congestive heart failure (new york heart association \[nyha\] class iii or iv; or class ii with a recent decompensation requiring hospitalization or referral to a heart failure clinic within 6 months before screening) * acute coronary syndrome and/or revascularization (e.g., coronary artery bypass graft, stent) within 6 months of first dose of study drug note: allowed heart conditions are restricted to stable angina, arrhythmia or atrial fibrillation controlled by medication, history of controlled coronary artery disease \> 6 months prior to screening and medically managed * pulmonary dysfunction, such as history of non-infectious pneumonitis that required steroids or current pneumonitis or idiopathic pulmonary fibrosis. note: allowed pulmonary conditions are restricted to mild chronic obstructive pulmonary disease (copd), controlled asthma, resolved bacterial or fungal pneumonia, or previous pulmonary embolism (pe) that has been compensated * active autoimmune disease that has required systemic treatment in the past 2 years (replacement therapies for hormone deficiencies are allowed) * uncontrolled active infection requiring therapy * known history of active tb (bacillus tuberculosis) * symptomatic ascites or pleural effusion * clinically significant uncontrolled illness * females only: pregnant or breastfeeding * any other condition that would, in the investigator's judgment, contraindicate the patient's participation in the clinical study due to safety concerns with clinical study procedures * prospective participants who, in the opinion of the investigator, may not be able to comply with all study procedures (including compliance issues related to feasibility/logistics)