In Carbon monoxide there is no hybridization.
Carbon number 6 has six total electrons this gives an electron configuration. of
This leaves the valance configuration of
The two s electrons are paired and are not used in bonding.
The two p electrons are in different p orbitals and able to be used for bonding. Therefore Carbon in it ground state configuration can form only two bonds.
Oxygen with a configuration of