Among mesenchymal tumors of the pancreas, a potential diagnosis is undifferentiated spindle cell sarcoma, which is less likely given the presence of a KRAS mutation, which is uncommon in pancreatic sarcoma. This evidence concerns the gene KRAS and spindle cell sarcoma.