http://www.vatican.va/archive/ENG0015/__P29.HTM
829 "But while in the most Blessed Virgin the Church has already reached that perfection whereby she exists without spot or wrinkle, the faithful still strive to conquer sin and increase in holiness. and so they turn their eyes to Mary":306 in her, the Church is already the "all-holy."
But back to the search for appeal to Scripture for its authority. It IS in there, bits and pieces of verses quoted just enough to show that the CCC does appeal to Scripture to give it its authority.
http://www.vatican.va/archive/ENG0015/__P2A.HTM
881 The Lord made Simon alone, whom he named Peter, the "rock" of his Church. He gave him the keys of his Church and instituted him shepherd of the whole flock.400 "The office of binding and loosing which was given to Peter was also assigned to the college of apostles united to its head."401 This pastoral office of Peter and the other apostles belongs to the Church's very foundation and is continued by the bishops under the primacy of the Pope.
882 The Pope, Bishop of Rome and Peter's successor, "is the perpetual and visible source and foundation of the unity both of the bishops and of the whole company of the faithful."402 "For the Roman Pontiff, by reason of his office as Vicar of Christ, and as pastor of the entire Church has full, supreme, and universal power over the whole Church, a power which he can always exercise unhindered."403
Good Luck!