Meaning of “put your foot in it” - Learner’s Dictionary

put your foot in it

UK (US put your foot in your mouth)

to say something silly or embarrassing, without intending to

(Definition of “put your foot in it” from the Cambridge Learner’s Dictionary © Cambridge University Press)