It's definitely a threat. As are many, many other ways of hiding possible attack devices in normal household items. Just one of many we carry on board every day, I'm afraid.
It shouldn't be able to open the cockpit door, though, nor will it repel several strong-build pax on board the flight.