Many exact string backgrounds described by gauged WZW models have spacetime singularities that arise when the gauge fields are eliminated at loci where their mass matrix degenerates. Keeping the gauge fields, we give a consistent description of the stabilizer degrees of freedom at the singular locus. When the degeneracy is caused by an unbroken gauge symmetry K, the action restricted to fluctuations along K is exactly that of a K/K gauged WZW model, whose term linear in the fluctuation is a BF theory of rank dimK. This restriction is a consistent classical truncation: every solution of the K/K model solves the full gauged WZW equations. The BF coupling persists in the full fluctuation expansion. The number of independent zero modes of the mass matrix can exceed dimK: the additional, accidental zero modes require null directions transverse to the gauged algebra, can be chiral and need not have BF form. These results extend to all anomaly-free asymmetric gaugings for which the invariant form is nondegenerate on the gauged algebra and on the stabilizer, including axial ones and the Nappi--Witten CFT. We also relate the degeneracy to poles and curvature singularities of the target space.