But the Panthers, whose every game this year has gone down to the final five minutes, almost forced the extra period when James Fisher-Harris crashed over minutes before fulltime.
However, the Sharks held on to consolidate their spot in the top four.
It was a cracking game at Southern Cross Group Stadium that could've gone either way.
The flashpoint came in a 12-point turnaround in the space of two minutes midway through the second half, when the bunker denied the Sharks at one end and then awarded one to Penrith at the other.
With his team down 10-8, Chad Townsend looked to have regained the lead when he chased down a Jack Bird grubber, only to be ruled just offside on the kick.
One set later, Fisher-Harris cannoned over after a 40-metre movement that he began with an offload, and included a flick pass from Bryce Cartwright. But the Sharks hit back with back-to-back long-range tries to set up the win.
Sharks 20 (M. Ennis, V. Holmes, J. Maloney tries; Maloney 4 goals)
Panthers 18 (J. Fisher-Harris 2, M. Moylan, I. Yeo tries; J Soward goal).
- AAP