Earlier quoted context omitted.
Pilots are also now told to not open the cockpit door, no matter what's happening in the cabin and to land the plane. There is a near 0 change you could take control of the plane. I would be more concerned about someone bringing a bomb on board.
The thing with this hack though is that it seems to be able to greenlight someone pretending to be staff to enter the cockpit as a passenger.
I’m pretty sure there is a second code on some planes that alerts the pilots someone is attempting to force the crew to open the door.