The 24-year-old Bayern Munich defender, who has played seven times for his national side, has been out of action since July.
Successful ankle surgery saw him return to training on Friday and Bernat is already setting his sights on a full return to form and fitness.
The former Valencia left-back, who has played at every national level for Spain since under 16, told he club’s official website: “I’m training hard so that I return in good physical condition.
“It’ll be difficult, but I’m on the home straight now. I want to recover and put some good performances in for the club and then being at the World Cup would obviously be a reward for that.
“I’m very happy. The most important thing is that the bone’s healing well. I don’t have any pain anymore.”