to accidentally say something embarrassing or inappropriate
I really put my foot in it when I asked about her ex-husband, not knowing they had just divorced.