Zener voltage for protection of GPIO

It is unusual to protect an output pin using a zener diode in that configuration.
What risk do you see ? A drain to gate short circuit in your mosfet ?