A former government contractor who pleaded guilty to leaking classified information to the media has been released from prison to a halfway house after nearly four years of incarceration, her lawyer confirmed to CNN on Monday.