The Sharks responded with two tries to regain control, but Leinster had the final say when Andrew Osborne touched down a Prendergast kick late on.
Leinster have suffered a second straight defeat in the URC, going down 26-20 to the Sharks in Durban.
The defending champions trailed 14-7 at half-time before fighting back after the break, with Kildare's Sam Prendergast kicking a penalty that briefly put Leinster in front.
The Sharks responded with two tries to regain control, but Leinster had the final say when Andrew Osborne touched down a Prendergast kick late on.
That score secured a losing bonus point for Leinster, but they remain without a win after the opening two rounds.

Kildare Hurling and Football 2027 League Fixtures
Tuesday's Main Lunchtime News
Meeting of GAA Management Committee To Implement Trial Football Rules
Tuesday Morning Sports Update
Monday Evening Sports Update
Ireland Captain Faces Disciplinary Hearing After South Africa Game
Chloe Mustaki Ruled Out Of Ireland's World Cup Play-Off Final Against Poland
Monday Morning Sports Update