WASHINGTON—President Donald Trump is considering revoking the security clearances of six former senior national security officials, the White House said Monday, moving to punish them for comments purportedly politicizing the investigations into Russian interference in the 2016 election.

“Making baseless accusations of improper contact with Russia or being influenced by Russia against the president is extremely inappropriate,” said White House spokeswoman Sarah Sanders, without specifying.

The...