put your foot in it

listen to the pronunciation of put your foot in it
English - English
(deyim) Say something without thinking carefully, so that you embarrass or upset someone

I’ve really put my foot in it this time. I didn’t realize that was her husband!.

put one's foot in it
To make a mistake in public, or a social blunder, that is embarrassing, or offensive
put one's foot in it
make an inappropriate comment, say something that is not proper