Following a goalless first-half, Bamba put Neil Warnock's men in front by poking home Callum Paterson's header in the 69th minute.
The match was then set for a nervy finish after Jack Stephens drew the Saints levelled in the stoppage time as it seemed like both teams would share the spoils but Kenneth Zohore's effort
Bamba has notched three goals in 25 league matches this campaign for the Bluebirds who are now 15th in the Premier League table with 25 points from 26 games.
They host Watford in their next league outing on February 22.
CAN'T TOUCH THIS 🕺🏿 pic.twitter.com/9KKpK7sxS2— Sol Bamba (@Sol14Bamba) February 9, 2019