Religions have faced and easily overcome that obstacle countless times.
There's plenty of evidence that religions can survive doctrinal challenges; Catholics largely decided evolution was God's mechanism for creation, while some Protestants decided it was a Satanic trick.
Look at things like Sabbath elevators and the 18 miles of fishing line that rings Manhattan (https://www.npr.org/2019/05/13/721551785/a-fishing-line-enci...). Religion is ever-flexible; humans are clever when motivated to come up with a solution.
Example, in modern concise English: https://open.library.okstate.edu/introphilosophy/chapter/aqu...
Original excerpt: https://homepages.uc.edu/~martinj/The%20Infinite/Aquinas%20-...
As an atheist and a scientist, Aquinas' works are still amazing to me.
Counter point. Religions with a very rigid view of highly sentient life being unique to earth and humans would have a hard time. Others would say that the universe produces sentience wherever it can and it is fundamental to the universe. You see this sort of idea, of sentience permeating the cosmos, in pantheistic and / or less antropocentric religions. It would be seen by some as a validation.
Religious worldviews are very diverse.
The stronger the dogma, the more heretical change is. And there are a lot of very dogmatic Islamic branches.
If religiosity was based on rational weighing of evidence, it would already be gone. But that's the wrong model. There is not enough room to describe the right model in this margin :)
Also, new religions arise all the time, which can incorporate the latest data.
That's why I tend to agree with echelon.
There's a big difference in the ability to ignore genetic statistics and measurements strongly proving evolution... and "Aliens exist."
The latter would more deeply penetrate the average person's understanding, and hence couldn't be ignored and would have to be incorporated into religious worldviews. It'd look a lot like the geocentric to heliocentric conversion, except bigger.
And like heliocentricity, an extraterrestrial civilization existing would only accumulate further alternate evidence over time, which would crowd dogmatic denialists into tighter and tighter corners.
We think that's how our brains work, but in reality unconscious processes decide what would be an advantageous belief to have, and another part (sometimes called "the press secretary") comes up with a rationalization that we believe is really why.
One can not simply opt to not believe what everyone around them accepts.
Some part of you realizes that it's better to fit in with the society you're part of than to take a stand for the truth of atheism. And so you become a believer.
Religions would face a huge obstacle in bridging their creation myths, more people would become atheist and non-religious.
Knowing something is possible is a hugely motivating factor. The department of defense and every international analog would want bigger and bolder weapons, money would pour into science. We'd fund astronomy and space exploration orders of magnitude more. There would be a renewed push for humans on Mars and beyond.
We'd want to know if alien life was biological or an AGI. We'd push harder on our own advances, but also become more aware of how this acceleration affects us.
We'd keep looking for life in our backyard. We'd be worried about it. Popular science and science fiction would communicate that risk and would lead to new cultural overtones. Zombies and superhero movies get replaced with alien invasion films.
I think we'd accelerate everything.