docTR through 1.1.0 contains an unsafe deserialization vulnerability in loadpretrainedparams() that loads checkpoints with torch.load without weightsonly=True. Attackers who control a local or URL-supplied checkpoint can embed a malicious pickle payload to execute Python code with the loading process's privileges on torch releases before 2.6.