A set of Vlasov-Maxwell equations for collisionless electromagnetic drift instabilities of high-beta plasma configurations with a nonuniform magnetic fields is solved. The effect of the transverse static magnetic field variation and magnetic field line curvature, as well as the plasma temperature and density gradients, is considered. It is shown that, in a nonuniform magnetic field, the behavior of the instabilities differs substantially from that in a uniform field. Electromagnetic modes propagating strictly transverse to the lines of the static magnetic field are analyzed in detail, and unstable solutions are obtained for both extraordinary and ordinary waves. Numerical results show that, in the latter case, instability occurs when the magnetic field decreases toward the periphery and the plasma temperature and density gradients are oppositely directed.