The Entity has taken over the internet and used fake news and astroturfing to leave the world on the brink of nuclear war. Kittridge and the U.S. government still want to control it, but with doomsday on the horizon, President Angela Basset decides to recruit Ethan to destroy the Entity.
Ethan and his team (Benji, Grace, Pom Klementieff and the black guy from Top Gun: Maverick) track down Gabriel, but he has been cast out by the Entity for failing to acquire the key to the sunken submarine where the Entity’s source code is hidden.
Gabriel is now working on his own to take over the Entity and rule the world, and reveals that the Rabbit’s Foot from Mission: Impossible 3 was a prototype for the Entity and Ethan is partially responsible for its existence.
Ethan finds the high-tech coffin Gabriel used to use to communicate with the Entity and goes into the cyberspace. The Entity tries to recruit Ethan as its new messiah, but he refuses and finds out the Entity plans to detonate all of the world’s nukes, but needs to stash itself in a bunker in South Africa to survive.
Meanwhile, Luther is sick, but manages to develop a virus that will wipe the Entity off the internet. Gabriel steals it, and Luther sacrifices himself to defuse a bomb Gabriel had planted and is the only casualty.