The result keeps Gosport in the top five of the Vanarama Conference South table, with Whitehawk and Concord breathing down their necks for that final play-off place.
There’s four cup finals left now, and they’re all massive gamesJustin Bennett
The only change to the side who beat Sutton 1-0 last weekend was Dan Wooden coming in for the suspended Rory Williams.
Matt Paterson made a return to the squad following his groin problem and came on with half an hour remaining.
Lee Wort opened the scoring in the 10th minute for a Gosport Borough side who, despite a recent blip, are still very much in the running for a top-five finish.
Bennett added a second goal on the hour mark, thanks to some help from a deflection.
The goal – his 24th league strike of the season – ends a run of four games without getting on the scoresheet.
Sam Pearce then had a chance to put the game beyond doubt but failed to convert from six yards out.
Maidenhead’s Dave Tarpey halved the deficit with three minutes remaining.
But it was too little too late and Gosport came away with the three points.
Borough’s all-time record goalscorer was delighted to hit the target once more.
And more importantly, help his side to a crucial win.
‘Three points are obviously the most important thing to the side,’ he said.
‘This was one of five cup finals remaining and we need to win every one.
‘It was nice to get a goal and to be able to contribute to that.
‘The fact the goal drought is over is just a relief really.
‘I brought the ball down well on one side of the pitch and took it past a few defenders.
‘I think it was going on target anyway, but the deflection just made sure of it going in.’
Bennett, who penned a new two-year deal with the club last week, was delighted with the team’s excellent performance.
He said: ‘We started really brightly, but after Maidenhead changed formation, we struggled for a period.
‘In the second half, once we got the second goal it was a case of seeing the game out, especially after their goal.
‘For the last period of the match, I think we did that superbly.’
With Gosport fifth in the league with four games to go, including hosting title-favourites Bromley on the last day, Bennett knows there is no room for error.
‘There’s four cup finals left now, and they’re all massive games,’ he said.
‘We just need to win them and see where it takes us in terms of the final league table.
‘There’s nothing more we can do.
‘Hopefully, if other teams slip up, we’ll be in a position to take advantage of that.
‘Looking at the run-in, we probably have the best one out of the teams around us, but there aren’t any easy games in this league.
‘Take Maidenhead for example, they’re only a few places off relegation but gave us a good test that we did well to overcome.’
Gosport Borough: Ashmore, Forbes, Poate, Carter, Robinson, Pearce, Ramsey (Paterson 60), Smith, Wort (Dunford 60), Bennett, Wooden (Wilde 77). Subs not used: Saez, Benham