Conn. Const. art. I, § 12
The privileges of the writ of habeas corpus shall not be suspended, unless, when in case of rebellion or invasion, the public safety may require it; nor in any case, but by the legislature.