Existence and regularity of positive solutions of a degenerate elliptic Dirichlet problem of the form −divfalse(a(x)∇ufalse)=bfalse(xfalse)up in Ω, u=0 on ∂Ω, where Ω is a bounded smooth domain in RN, N≥1, are obtained via new embeddings of some weighted Sobolev spaces with singular weights a(x) and b(x). It is seen that a(x) and b(x) admit many singular points in Ω. The main embedding results in this paper provide some generalizations of the well‐known Caffarelli–Kohn–Nirenberg inequality.