The targets R package before 1.12.1 contains a code execution vulnerability that allows attackers to run arbitrary R code by planting format functions in the data store metadata file. Attackers can supply a crafted targets data store whose custom format or CAS repository functions are passed to eval(parse()), executing code when victims call tarread(), tarload() or tarworkspace().