put (one's) foot in it
To unintentionally say something foolish, tactless, or offensive. Oh man, did I ever put my foot in it—I just congratulated Sarah's sister on being pregnant. She isn't. He just tends to put his foot in it when he's forced to speak for too long, so try to get him off stage as soon as possible.
Farlex Dictionary of Idioms. © 2024 Farlex, Inc, all rights reserved.