I think its based on the severity of crime that requires maximum security, rather than type of criminal. TTreasonous sorts of things are of the most severe (like actual treason can receive death penalty), and intelligence staffer disclosing classified info fits into that category.