Wasps, who scored the only try of the game, held a narrow 9-6 half-time lead, with Fraser Waters' second-half try coming in the 53rd minute just after Gloucester had taken the lead for the first time thanks to two early second-half penalties from inside centre Henry Paul.
Mark van Gisbergen, starting in Wasps' No.10 jumper yet again, had given his side the early advantage with a fifth-minute penalty, before Paul equalised in the seventh minute.
Van Gisbergen kicked another three-pointer in the ninth minute, followed by another in the 14th minute before Paul hit back with his second penalty in the 18th minute.
That was to be the half-time score before two Paul penalties in the 42nd and 51st minutes put the visitors into a 12-9 lead. Waters' try, however, did the trick just two minutes later, putting them ahead by 14-12, despite Van Gisbergen's missed conversion attempt.
The remaining 20-odd minutes saw both sides throw everything into it before Alex King – who came off the bench after a long injury lay-off, which saw him miss the Rugby World Cup – dropped a goal in the 65th minute to put his side ahead by five, forcing Gloucester into chasing the try and not just the penalty.
As it turns out, Gloucester managed neither, but a penalty on full-time by Van Gisbergen finally put them out of reach, while also robbing the 'Cherry and Whites' of a crucial bonus point for finishing within seven points.
For Wasps:Try: WatersPens: Van Gisbergen 4DG: King
For Gloucester:Pens: Paul 4