Born in 1918, Mashaba was a factory worker. He joined the African National Congress during the Defiance Campaign and was active in the Moroka branch.