Pretorius suffered the injury during the 3rd T20I against India in Indore.
Pretorius last played in the third and final T20I against India in Indore and suffered an injury in the said game.
"The nature of the injury requires surgical intervention and Dwaine will consult the Cricket South Africa designated hand surgeon on arrival in South Africa. Normal rehabilitation procedures will follow to ensure he speedily returns to playing cricket,” CSA chief medical officer Dr Shuaib Manjra said.
Meanwhile, left-arm pacer Marco Jansen has been added to the South Africa squad for the ODI series against India. He is also part of the three-man reserves list for the T20 World Cup, along with Andile Phehlukwayo and Bjorn Fortuin.
However, South Africa is yet to name a replacement for Pretorius for the T20 World Cup 2022.