A Cape Town photographer was stabbed five times while trying to hold off robbers who appeared to be after his baby, it was reported on Sunday.

Craig Kolesky (37) told the Weekend Argus that three well-dressed men entered his Oranjezicht home through a bathroom window on the first floor at around 11pm on Friday.

Kolesky heard the intruders and his girlfriend Yvushka Makein locked herself and the two-month-old baby inside the nursery.

The men returned upstairs to the nursery and tried to kick the door down.

"I hid him between a toybox and his cot so they wouldn't get him immediately if they managed to break in," Makein told the paper.

Kolesky then attacked the men and was stabbed numerous times. He managed to escape and call for help.

The intruders fled without taking anything. No arrests had been made.