A correctional officer is recovering after an alleged attack from an inmate at California State Prison, Sacramento.