Paul Quinn scored the decisive spot-kick as Cardiff progressed to the fourth round of the Carling Cup 7-6 on penalties against Leicester following a 2-2 draw.
Quinn, who had been nursing a groin injury for most of extra-time, slotted home the winner after Gelson Fernandes had missed for the Foxes.
Don Cowie opened the scoring for Cardiff with a header, only for Steve Howard to poke home his first goal of the season off the post to equalise.
Lloyd Dyer slammed in Leicester's second before Rudy Gestede's first goal for Cardiff forced extra-time.
Fernandes skied his penalty, allowing Quinn to win the match with the 14th spot-kick.