The School of Necromancy wizard has the Command Undead feature (PHB, p. 119):
Starting at 14th level, you can use magic to bring undead under your
control, even those created by other wizards. As an action, you can
choose one undead that you can see within 60 feet of you. That
creature must make a Charisma saving throw against your wizard spell
save DC. If it succeeds, you can’t use this feature on it again. If it
fails, it becomes friendly to you and obeys your commands until you
use this feature again.
Intelligent undead are harder to control in this way. If the target
has an Intelligence of 8 or higher, it has advantage on the saving
throw. If it fails the saving throw and has an Intelligence of 12 or
higher, it can repeat the saving throw at the end of every hour until
it succeeds and breaks free.
The Nightwalker from Mordenkainen’s Tome of Foes (p. 216) has 8 charisma, 6 intelligence and a CR of 20.
Isn’t it a bit crazy? Outside of simply not putting this thing in the game if you have a necromancy wizard in it, what else can happen (or can the DM do) that is gonna prevent the game from breaking?