Histiocytic sarcoma and tumors with dendritic cell differentiation (HDT) are uncommon neoplasms often with an aggressive clinical course that may occur in association with another hematologic malignancy or mediastinal germ cell tumor (secondary HDT, sHDT). Previous studies have shown mutations in the RAS/MAPK pathway in HDT and have demonstrated a clonal relationship between HDT and associated lymphoid malignancies through common translocations or identical immunoglobulin or T-cell receptor gene rearrangements. We performed whole exome sequencing on 16 cases of sHDT to further evaluate the spectrum of mutations that occur in sHDT in the context of an associated lymphoid malignancy, including cases associated with follicular lymphoma (FL), chronic lymphocytic leukemia/small lymphocytic lymphoma, B- and T-cell acute lymphoblastic leukemia/lymphoma and peripheral T-cell lymphoma, NOS. In addition, we assessed the clonal relationship between the HDT and the associated lymphoid malignancy in three cases for which matched samples were available. We found mutations in RAS/MAPK pathway genes in 14/16 cases of sHDT associated with diverse mature and precursor B-cell and T-cell neoplasms, involving KRAS (8/16), BRAF (2/16), NRAS (2/16), MAP2K1 (1/16), and NF1 (1/16). In addition, we note that FL-associated sHDT frequently shares a similar mutational profile to the associated malignancy, identifying mutations in CREBBP or KMT2D in all cases and "aberrant" somatic hypermutation in 5/6 cases. Our study confirms the role of the RAS/MAPK pathway in the pathogenesis of sHDT, provides further evidence of a common neoplastic precursor and, in the case of FL, gives additional insight into the stage in lymphomagenesis at which transdifferentiation may occur.