What happened

We've been saying for weeks now that airlines, thanks in part to a government cash infusion, are in no immediate danger of liquidity issues, but the industry needs traffic to normalize in the months to come to avoid dire consequences. Monday brought promising news on the vaccine front, and that's helping to push airline stocks, and the broader market, higher.

Shares of Spirit Airlines (SAVE -3.80%) are up 21% as of noon Monday, while shares of United Airlines Holdings (UAL 1.59%) are up 17%, and shares of Allegiant Travel (ALGT -1.83%), Delta Air Lines (DAL 4.05%), Southwest Airlines (LUV -6.96%), and Hawaiian Holdings (HA -2.42%) are up more than 11% apiece.

Other airline stocks are also beating the market, with Alaska Air Group (ALK 0.72%) up 10%, American Airlines Group (AAL 1.51%) up 8%, and JetBlue Airways (JBLU -3.21%) up more than 6%.

So what

The COVID-19 pandemic has wiped out demand for air travel, causing airline stocks to lose more than half of their value year to date and raising real questions about the industry's future.

The airlines came into the crisis relatively healthy and have added cash in the months since the pandemic began, giving them some cushion. But it will be difficult for the stocks to take off with so much uncertainty remaining about the duration of the pandemic and what the economy will look like when it is over.

An airplane taking off.

Image source: Getty Images.

The market on Monday cheered positive news from biotech Moderna (MRNA -2.45%) about promising early results from a clinical trial of a potential COVID-19 vaccine. The best-case scenario for airlines would be for a vaccine to be rapidly developed, allowing travel to normalize quickly and revenues to return.

There is some company-specific news driving certain stocks on Monday as well. Before markets opened, Spirit Airlines was upgraded to outperform by Evercore ISI, and Delta announced it was resuming some key international routes suspended due to the pandemic.

United, meanwhile, had been beaten down harder than most last week due to a number of company-specific headlines and was due for a rebound. JetBlue, due to its business model, will likely need more of a full economic recovery, and not just normalized recession-level traffic, to really rebound.

Now what

Moderna's clinical trial is without doubt good news, but it is only the first step in a long process. The trial was only conducted on eight participants, and further research is needed. The company hopes to begin a larger study in July.

If there is an end to the pandemic in sight, airline stocks are almost certainly undervalued and buying in makes sense. But be aware that even in the best of scenarios we are still months away from a widespread vaccine that could allow travel to normalize. And we still don't know what the U.S. economy will look like in the second half of the year, and what that will mean for travel trends.

I believe it is safe to buy airline stocks right now, as long as investors understand the risk. It's best to stick to top operators like Delta, Alaska, and Southwest that have the best chance of surviving in the event something goes wrong in the vaccine chase and the pandemic is with us longer than we hope.