Wiktionary
put one's foot in one's mouth
vb. (context idiomatic English) To misspeak; to say something embarrassing or wrong.