Passengers on a commercial flight in Mexico were given a start when a serpent slithered into the cabin in a scene straight out of the Hollywood thriller "Snakes on a Plane."

Carrier Aeromexico says the reptile was detected on a Sunday flight from Torreon in the country's north to Mexico City.

A brief video circulating online shows a greenish snake emerging from the ceiling behind an overhead luggage compartment and then partially dropping down into the cabin.

This content is imported from Twitter. You may be able to find the same content in another format, or you may be able to find more information, at their web site.

La vibora voladora...ja ja ja. Una experiencia única en el Vuelo Torreón-México, vuelo 231 de Aeroméxico. Eso si...Prioridad en aterrizaje. pic.twitter.com/qwDk6Wtszw — Indalecio Medina (@Inda_medina) November 6, 2016

Aeromexico says in a statement that the plane was given priority landing in Mexico City, where workers "secured the reptile."

The airline says it's investigating how the snake came to be in the cabin and taking measures to avoid it happening again.

This content is created and maintained by a third party, and imported onto this page to help users provide their email addresses. You may be able to find more information about this and similar content at piano.io