EXCLUSIVE

Brandi Glanville has gotten the ax on "Real Housewives of Beverly Hills," TMZ has learned.

Sources connected with the show tell TMZ ... she's been difficult to work with and most of the girls don't want to work with her anymore.

Several sources say the women don't feel safe around Brandi because of her frequent erratic behavior.

One more twist ... Brandi is tight with Kim Richards, who may also be 86'd from the show. Without Kim, Brandi becomes something of a 3rd wheel.