MassCube before 1.2.23 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying crafted pickle-based MS/MS library files to loadms2db. Attackers can distribute a malicious .pkl spectral library that readpickle passes to pickle.load, executing code with the privileges of the user running annotation.