While yeast will consume most of the nutrients, there's still residual sugar in beer. Hops will inhibit microbial and bacterial growth, but they will not stop it completely.
Is it more than 99.99999999999999% safe? No. Is it vastly safer that water? Yes.