Sadat Anaku scored the only goal of the game to secure a vital three points as KCCA left it into the final 10 minutes to break down Onduparaka at the Aba Bet Green Light Stadium on Sunday.
The game was heading for a dull goalless draw as Onduparaka frustrated KCCA for 80 minutes, before Anaku popped up to score the winner.
The best chance of the first half fell to Kabon Living inside the penalty area but his attempt was parried onto the post by Charles Lukwago, while Steven Sserwadda came close for the visitors with a curling effort from outside the area.
Onduparaka were then forced into a substitution after 30 minutes as Shaban Wasswa limped off with a hamstring injury and was replaced by Moses Okot.
The hosts then had an appeal for a penalty turned away by the referee after Lukwago appeared to have brought down former KCCA winger Noel Nasasira inside the penalty area.
Livin again missed another great opportunity to put his side in the lead as his attempted dink over Lukwago sailed over the cross bar in the 52nd minute.
Anaku who had looked lively for KCCA drew a fine save from goalkeeper Micheal Kagiri with a ferocious shot from range.
He then produced the decisive moment, popping up to score his seventh goal of the season and earn head coach Morley Byekwaso his third league victory.
KCCA reclaimed fourth place over Police FC courtesy of a bigger goal difference as both sides are level on 37 points, seven points behind the leaders URA FC ahead of their home encounter against Bright Stars on Thursday, April 29.
Onduparaka meanwhile slip down to 11th on the log with their third consecutive league loss. They are now on 24 points, five points above the relegation places with a trip to Express FC to come on Wednesday.